Output signal characteristics propagation mixin class
matlab.system.mixin.Propagates is a class that defines the System object's output size, data type, and complexity. You implement the methods of this class when the output specifications cannot be inferred directly from the inputs during Simulink® model compilation. If you do not include this mixin and the output specifications cannot be inferred, an error occurs. You use this mixin class and its methods when your System object will be used in the MATLAB System block.
To use this mixin, you must subclass from this class in addition to subclassing from the matlab.System base class. Type the following syntax as the first line of your class definition file, where ObjectName is the name of your System object™:
classdef ObjectName < matlab.System &... matlab.system.mixin.Propagates
The matlab.system.mixin.Propagates mixin is called by the MATLAB System block during Simulink model compilation.
|getDiscreteStateSpecificationImpl||Discrete state size, data type, and complexity|
|getOutputDataTypeImpl||Data types of output ports|
|getOutputSizeImpl||Sizes of output ports|
|isOutputComplexImpl||Complexity of output ports|
|isOutputFixedSizeImpl||Fixed- or variable-size output ports|
Note: If your System object has exactly one input and one output and no discrete property states, you do not have to implement any of these methods. Default values are used when you subclass from the matlab.system.mixin.Propagates mixin.