MATLAB Answers

2

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

Asked by David Devoy on 28 Jan 2016
Latest activity Answered by grub222
on 3 Aug 2017
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 Comment

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

Sign in to comment.

2 Answers

Answer by user
on 17 Jul 2016

Hey, MathWorks!!! This very bad behavior of scope in the last versions of simulink, please return stepped lines without gaps.

  0 Comments

Sign in to comment.


Answer by grub222
on 3 Aug 2017

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.

  0 Comments

Sign in to comment.