Model reference sample time inheritance status for discrete sample times
flag = allowModelReferenceDiscreteSampleTimeInheritanceImpl(obj)
specifies
whether a System
object™ in a reference model is allowed to inherit
the sample time of the parent model. Use this method only for System
objects that use discrete sample time and are intended for inclusion
in Simulink® via the MATLAB System block. flag
= allowModelReferenceDiscreteSampleTimeInheritanceImpl(obj
)
During model compilation, Simulink sets the model reference
sample time inheritance before the System
object setupImpl
method
is called.
You must set Access = protected
for this
method.
|
System object handle |
|
Flag indicating whether model reference discrete sample time inheritance is allowed for the MATLAB System block containing the System object, returned as a logical value. The default value for this argument depends on the number of
inputs to the System
object. To use the default value, you do
not need to include this method in your System
object class definition
file.
|