Why SImulink allows me to try and stream variable size signals ?

조회 수: 1 (최근 30일)
timo
timo 2016년 9월 11일
댓글: Swarooph 2016년 9월 12일
I have a variable size signal and I try to stream it (click signal and chose stream)
I get ofcourse the error :
Streaming of variable-sized signals is currently not supported. To eliminate this error, select the signal and then chose "Stop Streaming Selected Signals" from the Simulation Data Inspector toolbar menu.
What is more strange
"To eliminate this error, select the signal and then chose "Stop Streaming Selected Signals" "
What the hell ?
Why does Simulink allows me to do this operation anyway instead od throwing an error when i select to stream the signal ?
  댓글 수: 1
Swarooph
Swarooph 2016년 9월 12일
My guess is Simulink does not know the size of the signal until you update (Ctrl+D) or run the model.. Choosing the stream option is a static operation that can be done on any signal but that doesn't seem to trigger a model update (which is necessary to run a 'syntax' check on your model to determine signal sizes, parameter values etc).

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Event Functions에 대해 자세히 알아보기

태그

제품

Community Treasure Hunt

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

Start Hunting!

Translated by