Simulink display block as stateflow output

1 view (last 30 days)
Dlav
Dlav on 27 Jan 2014
Answered: Chandrasekhar on 1 Apr 2014
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 Comment
Kaustubha Govind
Kaustubha Govind on 31 Mar 2014
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.

Sign in to comment.

Answers (1)

Chandrasekhar
Chandrasekhar on 1 Apr 2014
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.

Categories

Find more on Simulink Functions in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!