Main Content

simResumed

Class:simevents.SimulationObserver
Package:simevents

指定行为模拟的简历

Syntax

simResumed(obj)

Description

simResumed(obj)determines the behavior when the simulation resumes after pausing. Override this function to specify the behavior of your visualization when the simulation resumes, as determined by theSimulationStatusparameter.

Input Arguments

expand all

Object of class SimulationObserver

Examples

expand all

Call this method when model continues after pausing.

functionsimResumed(this)% Called when model continues from being paused% Restart the timerthis.mTimerRequestPause = false; start(this.mTimer);end

Version History

Introduced in R2016a