Can I save the simout while running parsim after each worker completes its simulation?
14 ビュー (過去 30 日間)
古いコメントを表示
MathWorks Support Team
2019 年 6 月 18 日
編集済み: MathWorks Support Team
2020 年 12 月 7 日
Can I save the variables to a MAT file while running parsim after each worker completes its simulation?
採用された回答
MathWorks Support Team
2020 年 12 月 7 日
編集済み: MathWorks Support Team
2020 年 12 月 7 日
この 回答 は Trent Gatz
さんによってフラグが設定されました
Yes, it is possible by enabling the "LoggingToFile" and "LoggingFileName" options using the "setModelParameter" parameter.
in = in.setModelParameter('LoggingToFile', 'On', 'LoggingFileName', 'out.mat')
For more information look at the following documentation pages:
Please note that the SimulationInput objects and SimulationOutput objects can also be saved separately to a mat file and loaded into the workspace later. You can then use:
openSimulationManager(in, out)
to open the Simulation Manager UI. For more information, refer to:
0 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Run Multiple Simulations についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!