Simulink display block as stateflow output

조회 수: 5 (최근 30일)
Dlav
Dlav 2014년 1월 27일
답변: Chandrasekhar 2014년 4월 1일
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에서 Sources에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by