Prevent update simulink diagram

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

 Respuesta aceptada

Sebastian Castro
Sebastian Castro el 5 de Feb. de 2015

0 votos

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 comentarios

Wim
Wim el 6 de Feb. de 2015
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

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Simulink en Centro de ayuda y File Exchange.

Preguntada:

Wim
el 5 de Feb. de 2015

Comentada:

el 6 de Feb. de 2015

Community Treasure Hunt

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

Start Hunting!

Translated by