Clear Filters
Clear Filters

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

2 views (last 30 days)
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 Comments
Sudarshan Kolar
Sudarshan Kolar on 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 on 30 May 2020
I need to do the same thing. Can we change the varible in each iteration?

Sign in to comment.

Answers (0)

Categories

Find more on Modeling in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!