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

1 回表示 (過去 30 日間)
Vijay
Vijay 2018 年 3 月 15 日
回答済み: TAB 2018 年 8 月 20 日
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.)

採用された回答

TAB
TAB 2018 年 8 月 20 日
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 件)

カテゴリ

Help Center および File ExchangeView and Analyze Simulation Results についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by