Open simscape results explorer (sscexplore) with data in .mat-files / workspace data

5 ビュー (過去 30 日間)
Andreas
Andreas 2020 年 1 月 14 日
回答済み: Andreas 2020 年 1 月 22 日
Hi everyone,
I have a very slow and big model with simscape logging enabled and saved the workspace after simulation.
How can the simulation data be opened again with the simscape results explorer after loading the .mat-file?
In my case, the following workspace variables show up:
ans, Ki, Kp, out, tout
Out contains all data
The following does not work:
>> sscexplore('out')
Dot indexing is not supported for variables of this type.
>> sscexplore(out)
Undefined function 'hasTag' for input arguments of type 'Simulink.SimulationOutput'.
>> sscexplore(simlog)
Unrecognized function or variable 'simlog'.

採用された回答

Andreas
Andreas 2020 年 1 月 22 日
Thanks for the answer. It was unclear to me, where to start in an object of type Node.
The right expression should be:
sscexplore(out.simlog)

その他の回答 (1 件)

Divya Yerraguntla
Divya Yerraguntla 2020 年 1 月 20 日
Hi Andreas,
The input arguments of the function sscexplore must be of the type Node. Try and check if you are passing the right name and type of input arguments.
Hope it helps!

カテゴリ

Help Center および File ExchangeData Logging についてさらに検索

製品


リリース

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by