Preventing a Matlab Function from recompiling in Simulink

조회 수: 2 (최근 30일)
Thomas Marullo
Thomas Marullo 2015년 12월 4일
댓글: Thomas Marullo 2015년 12월 9일
I have a Matlab Function block that takes a while to generate code when I execute my simulation. When I change some stuff outside of the Matlab Function, Simulink still wants to recompile that function block but I know nothing has changed inside of it nor does it depend on any changes that would affect its code. Is it possible to prevent Simulink from recompiling that Matlab Function block so I can save time on tuning my model?

채택된 답변

Madhu Govindarajan
Madhu Govindarajan 2015년 12월 9일
If you can put your MATLAB function block inside Model reference and use the if any changes detected option mentioned here - http://www.mathworks.com/help/simulink/gui/model-referencing-pane.html
Then it should be possible to avoid recompiling every time.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Deployment, Integration, and Supported Hardware에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by