How to resolve this problem with the simulation data inspector in R2017a?
4 次查看(过去 30 天)
显示 更早的评论
Today I updated Matlab/Simulink from R2016a to R2017a. When running a simulation of my modified version of the ssc_refrigeration example file and wanted to evaluate signals using the simulation data inspector, I noticed that the values of all variables showed a linear curve rising from 0 to 4000 at the end of the simulation time. Like this:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/164129/image.png)
This screenshot comes from the original ssc_refrigeration model, which turned out to have the same problems. The blue line is supposed to represent a temperature that is fluctuating between 274.5K and 279.5K in the scope. Here it is a line rising from 0K to 4000K. Whatis going wrong here?
Another problem that I have with the data inspector, is that all the variables in the listing on the left-hand side are now represented by long path names whereas in R2016a the were collapsible by Simscape subsystem. Is there a way to revert to the "old" listing display?
I already tried sdi.Repository.clearRepositoryFile ,as is suggested here, although the bug in question has been reported to have been resolved in R2017a.
Any suggestions? Thanks in advance.
0 个评论
采纳的回答
Andrew Schenk
2017-6-5
A patch for this bug has been published. You can download it below:
You can use the "Group By" feature in the Simulation Data Inspector to view the signals in a subsystem hierarchy: https://www.mathworks.com/help/simulink/ug/customize-the-simulation-data-inspector-interface.html#bso7gbu-1
0 个评论
更多回答(1 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Data Logging 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!