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

2 次查看(过去 30 天)
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?

采纳的回答

Aman
Aman 2024-3-14
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!

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Simulink 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by