フィルターのクリア

Can I save the simout while running parsim after each worker completes its simulation?

14 ビュー (過去 30 日間)
Can I save the variables to a MAT file while running parsim after each worker completes its simulation?

採用された回答

MathWorks Support Team
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 件)

カテゴリ

Help Center および File ExchangeRun Multiple Simulations についてさらに検索

タグ

タグが未入力です。

製品


リリース

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by