Problem with Data Inspector Output Results
4 次查看(过去 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:
![](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 个评论
回答(1 个)
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:
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Analyze Simulation Results 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!