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

조회 수: 3 (최근 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