Does Simulink compiles a model when opening it?

조회 수: 1 (최근 30일)
Sohil Shrestha
Sohil Shrestha 2020년 2월 3일
답변: Paul 2021년 12월 28일
I have a question regarding stages of compilation and simulation in Simulink. I read the documentation in here https://www.mathworks.com/help/simulink/ug/simulating-dynamic-systems.html
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.

채택된 답변

Walter Roberson
Walter Roberson 2020년 2월 3일
No, when Simulink opens a model it does not compile it.
  댓글 수: 2
Sohil Shrestha
Sohil Shrestha 2020년 2월 17일
Thank you for the reply. Is there any documentation you can point me to regarding what kind of checks does Simulink performs while opening a model?
Walter Roberson
Walter Roberson 2020년 2월 17일
Sorry, I do not know that.

댓글을 달려면 로그인하십시오.

추가 답변 (1개)

Paul
Paul 2021년 12월 28일
doc open_system

카테고리

Help CenterFile Exchange에서 Programmatic Model Editing에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by