How to resolve this problem with the simulation data inspector in R2017a?

2 次查看(过去 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:
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.

采纳的回答

Andrew Schenk
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

更多回答(1 个)

Kalyani Dhawad
Kalyani Dhawad 2019-2-14
Screenshot_2019-02-14-23-02-00-750_com.android.mms.png

类别

Help CenterFile Exchange 中查找有关 Troubleshooting 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by