Autoscale settings in Simulink scope

83 views (last 30 days)
Hi all,
quite frequently I am working with signals which jump from one constant value to another over the course of the simulation time, so are mostly horizontal. When I then open a scope and press 'autoscale', because the signals have different ranges of values, big chunks of the signal 'disappear' in the upper or lower axis limit (mainly y-axis). That means that I have to adjust the limits manually every time to see the whole signal and not just a vertical line somewhere in the plot. (It gets annoying after a while)
Is there a way to (automatically or semi-automatically) insert some sort of margin at the top and at the bottom, when using autoscale, so that I can see the whole signal in my Simulink scope?
Or is there a suitable workaround?
Thank you in advance
Manuel

Accepted Answer

Ameer Hamza
Ameer Hamza on 24 Mar 2020
Autoscale should change the axis limits such that the complete signal is visible. If you are need manually scale axis every time even after clicking autoscale, then I suggest using the auto option for the axes scaling in the scope setting. In the scope window, go to View > Configuration Properties and in the axis scaling field, change from manual to auto. However, note that if you manually try to change the axis limits afterward, then this setting will revert to the manual.
  5 Comments
Ameer Hamza
Ameer Hamza on 25 Mar 2020
In that case, I guess that this is an issue present in older versions of MATLAB. The only solution might be to update to a latest release.
Manuel Gossen
Manuel Gossen on 25 Mar 2020
That's unfortunate, because for this project I am stuck to 2013b, so that is not an option for me.
Thank you anyways.

Sign in to comment.

More Answers (0)

Categories

Find more on General Applications in Help Center and File Exchange

Products


Release

R2013b

Community Treasure Hunt

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

Start Hunting!