Effacer les filtres
Effacer les filtres

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

1 vue (au cours des 30 derniers jours)
Julian
Julian le 4 Mar 2024
Réponse apportée : Aman le 14 Mar 2024
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?

Réponse acceptée

Aman
Aman le 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!

Plus de réponses (0)

Catégories

En savoir plus sur System Composer dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by