Borrar filtros
Borrar filtros

How to use fast restart simulink model with variable start conditons?

2 visualizaciones (últimos 30 días)
jm86
jm86 el 23 de Feb. de 2017
Comentada: Huseyin Salis el 30 de Mayo de 2020
Due to quite large compilation times, I decided to use fast restart for the Simulink model. The Input values for each Simulation step are defined at a matlab script, within a while Loop from which each Simulation step is initialized. Within the Simulink model the Inputs where given through "from Workspace" blocks. If I run the model without fast restart, everything works fine. With fast restart activated, the Input values for each Simulation step will not be updated. So my question is how to update Simulink model Inputs from a matlab Skript at fast restart mode?
Thanks in advance Johannes
  2 comentarios
Sudarshan Kolar
Sudarshan Kolar el 28 de Feb. de 2017
I understand that you want to use fast restart with variable input conditions. Can you share a small mode with the script you have mentioned to get a better picture of the issue?
Huseyin Salis
Huseyin Salis el 30 de Mayo de 2020
I need to do the same thing. Can we change the varible in each iteration?

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Modeling en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by