Effacer les filtres
Effacer les filtres

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

14 vues (au cours des 30 derniers jours)
Can I save the variables to a MAT file while running parsim after each worker completes its simulation?

Réponse acceptée

MathWorks Support Team
MathWorks Support Team le 7 Déc 2020
Modifié(e) : MathWorks Support Team le 7 Déc 2020
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:

Plus de réponses (0)

Catégories

En savoir plus sur Run Multiple Simulations dans Help Center et File Exchange

Tags

Aucun tag saisi pour le moment.

Produits


Version

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by