Simulink display block as stateflow output

3 次查看(过去 30 天)
Hi, I have following problem, hope some one can help me to solve it. I have Simulink model with Stateflow chart inside. I wish to see all Stateflow outputs using Dispaly block, but it only shows me last output. If I connect Scope I can see all outputs. So question is that I need to do to see all stateflow outputs on the scope.
Thank you.
Regards
  1 个评论
Kaustubha Govind
Kaustubha Govind 2014-3-31
When you say all outputs, do you mean that you have multiple outputs, or that you'd like to see all time-samples for one output signal? If it is the latter, I don't think a Display block would be appropriate.

请先登录,再进行评论。

回答(1 个)

Chandrasekhar
Chandrasekhar 2014-4-1
Display block can be used only to see the latest output.but if you want to see how the output varies over a period of time then scope should be used. if you have multiple signals of same data type and wish to watch them in a single scope, then multiplex the signals using a mux block and give it to scope.

类别

Help CenterFile Exchange 中查找有关 Simulink Functions 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by