Scope with same inputs don't show same values SIMULINK

1 view (last 30 days)
In SIMULINK
I have the problem that when I transfer a variable from the main system to a subsytem and look at them both with a scope, the one from the main system shows all the results (from 0-17520) and the one in the subsytem only from 12000-17520.
I am not sure if this is a problem with the scope or if the values are being affected, thus affecting my results. If it is not clear I can add some pictures.
ty

Accepted Answer

j_solar
j_solar on 27 Feb 2012
Ok found it. In the scope there is an option that limits the number of points to be plotted. Change it to 17520 run it again and voila!
  1 Comment
K E
K E on 27 Feb 2012
Can you unaccept your answer? Then you might get some Simulink expert to read your question.

Sign in to comment.

More Answers (1)

j_solar
j_solar on 27 Feb 2012
Looking more into it, it happens to all the variables. And it shows exactly 5000 values, so it could be something like the data transfer between subsytems is limited to 5000?

Categories

Find more on Simulink Functions in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!