필터 지우기
필터 지우기

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 CenterFile Exchange에서 Run Multiple Simulations에 대해 자세히 알아보기

태그

아직 태그를 입력하지 않았습니다.

제품


릴리스

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by