Why do I get a Simulation Data Inspector (SDI) plot that only shows one circle/point in R2021b?
59 views (last 30 days)
Show older comments
MathWorks Support Team
on 19 Nov 2021
Edited: MathWorks Support Team
on 5 Feb 2022
Whatever signal I am logging, I see only one point that looks like a stem plot in Simulation Data Inspector (SDI).
If I keep SDI open during simulation, the stem point moves up and down. I also noticed that there was a "t=..." time display in the top right corner. I restarted MATLAB but this behavior doesn't seem to go away.
Accepted Answer
MathWorks Support Team
on 22 Feb 2022
Edited: MathWorks Support Team
on 2 Dec 2021
It appears that the subplot is configured as an array plot which is a new R2021b feature:https://www.mathworks.com/help/simulink/ug/view-multidimensional-signals-using-the-array-plot.html
To change an array plot back to a regular time plot, click the Layout button then select "Edit View". From the Visualization Gallery, drag and drop the "Time Plot" icon onto a subplot.
You can also use the following command to reset SDI completely:
>> Simulink.sdi.clearPreferences
See the following page to learn more about Simulink.sdi.clearPreferences:
0 Comments
More Answers (0)
See Also
Categories
Find more on Multirate Signal Processing 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!