Prevent update simulink diagram

How to perform a batch of simulink diagram simulations while preventing the diagram being updated each time?

 採用された回答

Sebastian Castro
Sebastian Castro 2015 年 2 月 5 日

0 投票

As long as you're not making structural changes to the model or changing non-tunable parameters (i.e., changes that require the model to update), the update process should be a lot quicker.
Maybe it would help to know what kinds of modifications the script is making, and we can see if there's a more efficient way to get around this?
- Sebastian

2 件のコメント

Wim
Wim 2015 年 2 月 6 日
Sebastian,
Until now the script, nor any callbacks (there are none) are making any modifications.
Can it be that the use of approximately 40 reference models including 60 Matlab Functions in total (resulting in 60 .mexw64 files) takes a lot of time to check for update?
Would it help using library links in stead of reference systems?
Regards,
Wim.
Sebastian Castro
Sebastian Castro 2015 年 2 月 6 日
Are you using Rapid Accelerator modes? You can speed things up by turning off the up-to-date checks:
sim(model,'SimulationMode', 'rapid','RapidAcceleratorUpToDateCheck', 'off');
Pages in the documentation like this one and this one talk more about that.
Another thing that may help is changing the Rebuild setting to "If any changes in known dependencies".
- Sebstian

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeSimulink Environment Customization についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by