Is there a way to reset MatLab/Simulink to initial condition when first loaded?

I am running MatLab/Simulink many times as part of a larger application. Each run of MatLab/Simulink is driven by a slightly different script file which specifies initial conditions. Currently, I am terminating and restarting MatLab/Simulink repeatedly (under program control, not manually) in order to get the data from all of the individual simulation runs. The issue I face is that the startup time for MatLab/Simulink is multiple minutes, and when I have 100 simulations to run, that is 200 minutes of start-up time, not even counting time to run the simulations themselves. What I am looking for is a way to "reset" MatLab/Simulink without having to terminate and relaunch it each time. Does any such mechanism exist?

카테고리

도움말 센터 및 File Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

제품

릴리스

R2017b

태그

질문:

2018년 8월 31일

답변:

2018년 9월 3일

Community Treasure Hunt

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

Start Hunting!

Translated by