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.
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 Exchange에서 Simulink에 대해 자세히 알아보기

질문:

Wim
2015년 2월 5일

댓글:

2015년 2월 6일

Community Treasure Hunt

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

Start Hunting!

Translated by