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

4 views (last 30 days)
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?

Answers (2)

vidyesh
vidyesh on 20 Oct 2023
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 on 23 Oct 2023
Thanks for the tip. you may close this issue.

Products


Release

R2021b

Community Treasure Hunt

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

Start Hunting!