Filter löschen
Filter löschen

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

2 Ansichten (letzte 30 Tage)
jm86
jm86 am 23 Feb. 2017
Kommentiert: Huseyin Salis am 30 Mai 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 Kommentare
Sudarshan Kolar
Sudarshan Kolar am 28 Feb. 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 am 30 Mai 2020
I need to do the same thing. Can we change the varible in each iteration?

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Modeling finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by