フィルターのクリア

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

1 回表示 (過去 30 日間)
Julian
Julian 2024 年 3 月 4 日
回答済み: Aman 2024 年 3 月 14 日
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 Center および File ExchangeSystem Composer についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by