How to edit figures from simulink simulation manager in .fig format?

6 次查看(过去 30 天)
I'm trying to make use of the simulation manager to analyze a set of simulations. However, I can't seem to export the data into a useful format so I can continue to work with the results in matlab. Also, I can't seem to edit the full range of properties for the figures created with the simulation manager.
  1. How do I save the data from a Design Study so I can use it?
  2. How do I break out the figure from the Simulation Manager?

回答(2 个)

vidyesh
vidyesh 2023-10-20
Hi Jason,
Based on my understanding, you would like to export data to the MATLAB Workspace and save plots in the Simulation Manager as '.fig' files for further editing. Here are the steps to achieve this:
  • Exporting data to the MATLAB Workspace:
1. In your Simulink model, use the 'To Workspace' blocks.
2. Configure the block properties and select the desired format for exporting data to the MATLAB Workspace from the
'save format' dropdown list.
  • Saving plots in the Simulation Manager as '.fig' files:
1. Open the Simulation Manager and click on the 'Show Results' option in the toolstrip. This will open the 'Simulation
Data Inspector'.
2. Enable the desired signals from the 'Inspect' tab.
3. Right-click on the plots and choose 'Snapshot' followed by 'To MATLAB Figure'.
4. The plot will open as a figure that you can edit and save as a '.fig' file.
For more detailed information, you can refer to the following documentation:
  1. Simulink Data Inspector - https://www.mathworks.com/help/simulink/slref/simulationdatainspector.html
  2. To Workspace- https://www.mathworks.com/help/simulink/slref/toworkspace.html
I hope my answer helps.

Jason LaPenta
Jason LaPenta 2023-10-23
Thanks for the tip. you may close this issue.

类别

Help CenterFile Exchange 中查找有关 View Data During Simulation 的更多信息

产品


版本

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by