can i change simulink blocks execution order

47 views (last 30 days)
Ahmad
Ahmad on 26 Nov 2015
Answered: Jonas on 9 Sep 2020
I'm wondering if I could change simulink blocks execution order. I want certains block to get executed before others.
Thank Ahmad

Answers (3)

Madhu Govindarajan
Madhu Govindarajan on 17 Dec 2015
Try using the Block Priorities for individual blocks that you think should be executed first - http://www.mathworks.com/help/simulink/ug/controlling-and-displaying-the-sorted-order.html#bskpx1q

Teresa Hubscher-Younger
Teresa Hubscher-Younger on 13 May 2020
Just putting in information about a new feature, in case others have this quesiton.
You can also explicity schedule Simulink components using the Schedule Editor:
-Teresa

Jonas
Jonas on 9 Sep 2020
Hi all
In the MathWorks documentation I found another way, besides what is already proposed here, and that is to use a Stateflow chart with function call outputs. The subsystems would then need to be function call subsystems.
With kind regards,
Jonas

Categories

Find more on Schedule Model Components in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!