Segmentation Fault with minimal Model
If you create a model like
![grafik](data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==)
You will get a segmentation fault caused by hrt_main.c Line 1552
ts = *(const real_T *)
rtwCAPI_GetSamplePeriodPtr(sampleTimeMap, i);
This is not what the user expects.
It would be better to check the return value and generate a failure message.