Problem with Data Inspector Output Results

5 次查看(过去 30 天)
I believe I accidentally enabled some setting that forces my data to be displayed as a simple occurrence plot in the Simulink Data inspector, as shown here:
The expected result is something that looks like this, which I was able to get in data inspector before accidentally changing the settings:
Any help would be greatly appreciated!

回答(1 个)

Vineeta Shukla
Vineeta Shukla 2021-12-1
Hi Ryan,
From my understanding, the expected plot was visualized in the Data Inspector before the default settings were changed sometime in between.
You can try to restore all Simulation Data Inspector preferences to their default values.
This can be done programatically using the Simulink.sdi.clearPreferences function.
Here is a link to the documentation to understand more about this function:

类别

Help CenterFile Exchange 中查找有关 Analyze Simulation Results 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by