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

7 次查看(过去 30 天)
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 CenterFile Exchange 中查找有关 Data Logging 的更多信息

产品


版本

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by