Why do I get a Simulation Data Inspector (SDI) plot that only shows one circle/point in R2021b?

63 vues (au cours des 30 derniers jours)
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.

Réponse acceptée

MathWorks Support Team
MathWorks Support Team le 22 Fév 2022
Modifié(e) : MathWorks Support Team le 2 Déc 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:

Plus de réponses (0)

Produits


Version

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by