MATLAB Answers

can i change simulink blocks execution order

81 ビュー (過去 30 日間)
Ahmad
Ahmad 2015 年 11 月 26 日
回答済み: Jonas 2020 年 9 月 9 日
I'm wondering if I could change simulink blocks execution order. I want certains block to get executed before others.
Thank Ahmad

回答 (3 件)

Madhu Govindarajan
Madhu Govindarajan 2015 年 12 月 17 日
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 2020 年 5 月 13 日
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 2020 年 9 月 9 日
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

Community Treasure Hunt

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

Start Hunting!

Translated by