Simulink Block execution information problem
显示 更早的评论
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.

Thanks.
采纳的回答
更多回答(1 个)
Paul
2013-12-6
0 个投票
I'm sorry I'm confused by your question could you explain what you want to do ?
类别
在 帮助中心 和 File Exchange 中查找有关 Integrate C/C++ Code Using C Function Blocks 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!