Main Content
setNumTicksUntilNextHit
Set the number of ticks in Simulink sample time
Syntax
setNumTicksUntilNextHit(obj,ticks)
Description
setNumTicksUntilNextHit(
sets the number of ticks in Simulink® sample time to wait until the next call to obj
,ticks
)stepImpl
, or
outputImpl
/updateImpl
.
Dependencies
To use this method, set your System object™ to controllable sample time with createSampleTime('Type','Controllable')
. Otherwise, your System object gives a compilation error.
You can only call this method from stepImpl
,
outputImpl
, updateImpl
, or
resetImpl
.
Input Arguments
Version History
Introduced in R2018a