can i change simulink blocks execution order
17 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
I'm wondering if I could change simulink blocks execution order. I want certains block to get executed before others.
Thank Ahmad
0 commentaires
Réponses (3)
Madhu Govindarajan
le 17 Déc 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
0 commentaires
Teresa Hubscher-Younger
le 13 Mai 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
0 commentaires
Jonas
le 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.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/358243/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/358246/image.png)
With kind regards,
Jonas
0 commentaires
Voir également
Catégories
En savoir plus sur Schedule Model Components dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!