How to transfer simulation output from Simscape Results Explorer
18 views (last 30 days)
Show older comments
Henrik Schönheit
on 19 Nov 2020
Commented: liqun fang
on 7 Nov 2022
I run some simscape simulations and find the Simscape Results Explorer to be a really convenient tool to quickly check the simulation results, because it includes the relevant data of all my blocks.
However, I cannot run any calculations with the results, i.e. add or multiplicate signals (and by 'signals', I mean hydraulic pressures, forces and similar data).
To do this, I try to export the whole dataset which is shown in the Simscape Results Explorer to the Base Workspace, without adding sensors and 'To Workspace'-Blocks to all relevant signals.
Is there a way to do this?
0 Comments
Accepted Answer
Juan Sagarduy
on 19 Nov 2020
Hi Henrik
The results of the model shown in the Explorer are retrieved automatically in MATLAB workspace after the simulation. With default settings, they appear in out.simlog where data is structured as a tree. Then, through scripting you can plot, process...
Hope this helped Juan
2 Comments
liqun fang
on 7 Nov 2022
That's amazing. When I execute an order out.simlog, all the data shown in the Simscape Results Explorer appears.
More Answers (0)
See Also
Categories
Find more on Data Logging in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!