MATLAB Answers

0

getting the arrays stored for Simulation Data Inspector to plot in Scope Block?

Vijay 님이 질문을 제출함. 15 Mar 2018
최근 활동 TAB 님이 답변함. 20 Aug 2018
I want to use the feature of comparing the results of different runs, which is availbale in the Simulation Data Inspector. I want to use the curves of the present and the previous simulation in the scope Block and not in Inspector. I know where the latest values are stored in the workspace, but don't know where the old values are stored, which can be plotted using the Simulation Data Inspector. (My aim is to use Simulink Scope Block to compare the results of 2 simulations.)

  댓글 수: 0

로그인 to comment.

답변 수: 1

TAB 님의 답변 20 Aug 2018
 채택된 답변

Simulink Data Inspector (SDI) stores the previous simulation plots in %TEMP% folder in binary format (file name USERNAME_sdi*.dmr).
There is no function to extract data from dmr file.
So you should store the simulation data from Matlab workspace before starting new simulation.

  댓글 수: 0

로그인 to comment.



Translated by