Main Content
allowModelReferenceDiscreteSampleTimeInheritanceImpl
Model reference sample time inheritance status for discrete sample times
Syntax
flag = allowModelReferenceDiscreteSampleTimeInheritanceImpl(obj)
Description
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
)
Run-Time Details
During model compilation, Simulink sets the referenced model sample time inheritance before the System object
setupImpl
method is called.
Method Authoring Tips
You must set Access = protected
for this method.
Input Arguments
Output Arguments
Examples
Version History
Introduced in R2016a