can i change simulink blocks execution order
Show older comments
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
on 17 Dec 2015
2 votes
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
on 13 May 2020
1 vote
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
on 9 Sep 2020
0 votes
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!