필터 지우기
필터 지우기

How can I save data in Simscape Multibody Mechanics Explorer?

조회 수: 11 (최근 30일)
Zdzislaw Hryciow
Zdzislaw Hryciow 2024년 3월 28일
댓글: Zdzislaw Hryciow 2024년 4월 2일
After performing the calculations in Simscape Multibody, the selected results can be saved. This makes it possible to return later to analyse the results. This is particularly important for long-term simulations of complex systems (in my case, the average simulation time is several hours). How can I save the results shown in Mechanics Explorer? Is it possible to load previous simulation results when matlab is restarted (e.g. to create a movie from a different perspective), without running the simulation again?

답변 (1개)

Raj
Raj 2024년 4월 1일
Using the MATLAB 'save' function, we can save variables from MATLAB's workspace to a .mat file. You can later reload data from the file to your workspace and reuse the data without having to re-run the simulation.
However, right now, you can't bring back a visualization in Simscape Multibody Mechanics Explorer after restarting MATLAB unless you rerun the simulation. You can save the visualization as a video and watch it outside of MATLAB, but you can't load this video back into Mechanics Explorer without running the simulation again.
I hope this solves your query!
  댓글 수: 1
Zdzislaw Hryciow
Zdzislaw Hryciow 2024년 4월 2일
Hi Raj
Thank you for the explanation. Maybe in the future such functionality will be introduced in Matlab.

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

카테고리

Help CenterFile Exchange에서 Assembly에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by