Problem with Data Inspector Output Results
5 views (last 30 days)
Show older comments
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:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/804334/image.png)
The expected result is something that looks like this, which I was able to get in data inspector before accidentally changing the settings:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/804339/image.png)
Any help would be greatly appreciated!
0 Comments
Answers (1)
Vineeta Shukla
on 1 Dec 2021
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:
0 Comments
See Also
Categories
Find more on Analyze Simulation Results 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!