Can I save the simout while running parsim after each worker completes its simulation?
14 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
MathWorks Support Team
el 18 de Jun. de 2019
Editada: MathWorks Support Team
el 7 de Dic. de 2020
Can I save the variables to a MAT file while running parsim after each worker completes its simulation?
Respuesta aceptada
MathWorks Support Team
el 7 de Dic. de 2020
Editada: MathWorks Support Team
el 7 de Dic. de 2020
Trent Gatz
ha marcado con alerta este/a respuesta
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 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Run Multiple Simulations en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!