MATLAB Answers

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

6 views (last 30 days)
Andreas
Andreas on 14 Jan 2020
Answered: Andreas on 22 Jan 2020
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'.

  0 Comments

Sign in to comment.

Accepted Answer

Andreas
Andreas on 22 Jan 2020
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)

  0 Comments

Sign in to comment.

More Answers (1)

Divya Yerraguntla
Divya Yerraguntla on 20 Jan 2020
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!

  0 Comments

Sign in to comment.


Translated by