Clear Filters
Clear Filters

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

14 views (last 30 days)

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 7 Dec 2020
Edited: MathWorks Support Team on 7 Dec 2020
This answer was flagged by 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:

More Answers (0)

Categories

Find more on Run Multiple Simulations in Help Center and File Exchange

Tags

No tags entered yet.

Products


Release

R2020a

Community Treasure Hunt

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

Start Hunting!