How to transfer simulation output from Simscape Results Explorer

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?

 채택된 답변

Juan Sagarduy
Juan Sagarduy 2020년 11월 19일

0 개 추천

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

Hi Juan,
thanks for the answer. I looked into out.simlog before but did not realize it contains all my data, because the data is not shown when I look at out.simlog in the 'Variables'-window. But when accessing it via the command window, all the Nodes are shown. So my real problem was that I didn't know anything about the 'Node'-class.
That's amazing. When I execute an order out.simlog, all the data shown in the Simscape Results Explorer appears.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Simscape에 대해 자세히 알아보기

제품

질문:

2020년 11월 19일

댓글:

2022년 11월 7일

Community Treasure Hunt

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

Start Hunting!

Translated by