Does Simulink compiles a model when opening it?

2 views (last 30 days)
I have a question regarding stages of compilation and simulation in Simulink. I read the documentation in here
However I am not sure what kind of checks Simulink does when opening/loading the model in Simulink without compiling it.
The reason I am asking is does the results differ when programmatically getting metrics of the model through Simulink check. I am able to get results even if the model is slmetrics api in Simulink check is throwing compilation errors. Some random sampling and testing suggest results doesnot vary.
However I am not sure if that is the case for every other model.

Accepted Answer

Walter Roberson
Walter Roberson on 3 Feb 2020
No, when Simulink opens a model it does not compile it.

Sign in to comment.

More Answers (1)

Paul on 28 Dec 2021
doc open_system


Find more on Manual Performance Optimization in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!