Filter löschen
Filter löschen

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

1 Ansicht (letzte 30 Tage)
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?

Akzeptierte Antwort

Aman
Aman am 14 Mär. 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!

Weitere Antworten (0)

Kategorien

Mehr zu System Composer finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by