I have a Simulink model (model1) which has a model reference to model2.
Model2 compilation time (checked with sldiagnostics) is pretty fast, takes 10s or so. However, when I compile model1, the compilation times takes more than 3 minutes, and according to sldiagnostics, the only step that's taking too long is exactly this:
Cstat28: 190.56 seconds -- Check And Compile Model Reference Normal Modes
which is the compilation of the referenced model (model2).
How's this possible? What could I do to alleviate this, as a 3-minute compilation time is a huge hindrance for my test environment.
2 Comments
Direct link to this comment
https://la.mathworks.com/matlabcentral/answers/572128-extremely-slow-compilation-time-in-referenced-model-simulink#comment_981116
Direct link to this comment
https://la.mathworks.com/matlabcentral/answers/572128-extremely-slow-compilation-time-in-referenced-model-simulink#comment_981116
Direct link to this comment
https://la.mathworks.com/matlabcentral/answers/572128-extremely-slow-compilation-time-in-referenced-model-simulink#comment_991253
Direct link to this comment
https://la.mathworks.com/matlabcentral/answers/572128-extremely-slow-compilation-time-in-referenced-model-simulink#comment_991253
Sign in to comment.