Export 'Simulation Details' for all runs displayed in Simulation Manager

1 view (last 30 days)
Is it possible to bulk export the simulation details shown in Simulation Manager for each run?
I've run several simulations using the Multiple Simulations tool in Simulink. The Simulation Manager shows the simulation details with run ID, elapsed time, etc. I want to compare the timing info of all the runs, but I do not know how to extract the data. Is there a way to access the Simulation Manager via an API?

Accepted Answer

Aman
Aman on 14 Mar 2024
Hi Julian,
From the information provided, I understand that you want to get the simulation results and do comparative analysis.
In order to do so, you can use the "get" function, which gives access to the simulation result in the "Simulink.SimulationOutput" object. Once you have this, you can iterate over it and get the metadata for each run using the "getSimulationMetadata" function, which gives the timing and execution information.
You can refer to the below document, which discusses the above-suggested workflow.
I hope this helps!

More Answers (0)

Categories

Find more on Simulink 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!