Class: matlab.System
Model reference sample time inheritance status for discrete sample times
flag = allowModelReferenceDiscreteSampleTimeInheritanceImpl(obj)
specifies whether a System
object™ in a referenced 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 referenced model sample time inheritance before the System
object
setupImpl
method is called.
You must set Access = protected
for this method.