Simulink Block execution information problem
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hi,
I have a question about the way we can get the block execution information in Simulink.
For example, I have the following model. with different input values, the output depends on the switch connected with 1 or 2.
but with one input pair (In1, In2, In3) assignment, only part of the model will be executed. Such as when In3 = 1, the switch will be connected the cal1, and the block cal2 actually not execute or simulate this time.
Is there any way I can check which blocks in the model actually executed in one simulation?
The ideal expect result should like following: based on current input assignment the involved Block list:
In1,
In2,
In3,
Cal1,
Switch,
Out1.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/153517/image.png)
Thanks.
0 commentaires
Réponse acceptée
Plus de réponses (1)
Voir également
Catégories
En savoir plus sur Block Libraries dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!