Package: matlab.system.mixin
Signal characteristics propagation mixin class
The matlab.system.mixin.Propagates
mixin will be removed in a future
release. You no longer need to inherit from this mixin in your System object. The associated propagation methods have been moved to the matlab.System
class.
matlab.system.mixin.Propagates
specifies the output
size, data type, and complexity of a System object™. Use this mixin class and its methods when you will include your
System object in Simulink® via the MATLAB System (Simulink) block. This mixin is
called by the MATLAB System block during Simulink model compilation.
Note
If your System object has exactly one input and one output and no discrete property states,
or if you do not need bus support, you do not have to implement any of these
methods. The matlab.system.mixin.Propagates
provides default values in these cases.
Implement the methods of this class when Simulink cannot infer the output specifications directly from the inputs or when you want bus support. If you do not include this mixin, Simulink cannot propagate the output or bus data type, an error occurs.
To use this mixin, subclass from this matlab.system.mixin.Propagates
in addition to subclassing from the
matlab.System
base class. Type the following
syntax as the first line of your class definition file. ObjectName
is the name of your System object.
classdef ObjectName < matlab.System &... matlab.system.mixin.Propagates
The matlab.system.mixin.Propagates
class is a handle
class.