Simulink display block as stateflow output

1 visualizzazione (ultimi 30 giorni)
Dlav
Dlav il 27 Gen 2014
Risposto: Chandrasekhar il 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 Commento
Kaustubha Govind
Kaustubha Govind il 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.

Accedi per commentare.

Risposte (1)

Chandrasekhar
Chandrasekhar il 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.

Categorie

Scopri di più su Simulink Functions in Help Center e File Exchange

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by