Why doesn't a Simulink scope in an enabled subsystem work ?

조회 수: 5 (최근 30일)
David Devoy
David Devoy 2016년 1월 28일
답변: grub222 2017년 8월 3일
In Matlab 2014b I can drop a scope into an "enabled subsystem" block to monitor what is going on.
When I upgraded to Matlab 2015b I found there is no display on scopes in my enabled subsystems.
I suspect there is a problem with the new fancy complex scope triggering setup in 2015b but I cant figure it out. Can anyone help?
  댓글 수: 1
Daniele
Daniele 2016년 10월 18일
I have the same behaviour. In my model, scopes are ok with R2104a and they don't work with R2015b. Is there a workaround?
Thanks

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

답변 (2개)

user
user 2016년 7월 17일
Hey, MathWorks!!! This very bad behavior of scope in the last versions of simulink, please return stepped lines without gaps.

grub222
grub222 2017년 8월 3일
Here's what I found:
This can happen if your subsystems are only enabled for very short periods of time (i.e. only one sample time) In this case the default scope appears to show now data.
To visualize the data, you need to set a marker style (View -> Style) for your plot.

카테고리

Help CenterFile Exchange에서 Schedule Model Components에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by