https://kr.mathworks.com/help/simevents/ref/simevents.simulationobserver.simresumed.html
simevents.SimulationObserver.simResumed - Specify behavior when simulation resumes - MATLAB
This MATLAB function determines the behavior when the simulation resumes after pausing.
specifybehaviorsimulationresumesmatlab