Filter löschen
Filter löschen

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

14 Ansichten (letzte 30 Tage)
Can I save the variables to a MAT file while running parsim after each worker completes its simulation?

Akzeptierte Antwort

MathWorks Support Team
MathWorks Support Team am 7 Dez. 2020
Bearbeitet: MathWorks Support Team am 7 Dez. 2020
Diese(r) Antwort wurde durch Trent Gatz markiert
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:

Weitere Antworten (0)

Kategorien

Mehr zu Run Multiple Simulations finden Sie in Help Center und File Exchange

Tags

Noch keine Tags eingegeben.

Produkte


Version

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by