Simulink Block execution information problem
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Troy Vie
am 6 Dez. 2013
Kommentiert: Troy Vie
am 10 Dez. 2013
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 Kommentare
Akzeptierte Antwort
Weitere Antworten (1)
Paul
am 6 Dez. 2013
I'm sorry I'm confused by your question could you explain what you want to do ?
2 Kommentare
Siehe auch
Kategorien
Mehr zu Block Libraries finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!