Specify sample time type, offset time, and sample time
sts = getSampleTimeImpl(obj)
returns the sample time
specification created within the method body, sts
= getSampleTimeImpl(obj
)sts
, for the System object™ obj
. Specify the sample time specification within the body of
getSampleTimeImpl
by calling createSampleTime
. The sample time
specification affects the simulation time when the System object is included in a MATLAB System block.
getSampleTimeImpl is called during setup by setupImpl
.
You must set Access = protected
for this method.
If you do not include this method in your System object definition, the sample time is inherited.