Output calculation from input or internal state of System object
[y1,y2,...,yN] = outputImpl(obj,u1,u2,...,uN)
[y1,y2,...,yN] = outputImpl(obj,u1,u2,...,uN)
specifies the
algorithm to output the System object™ states. The output values are calculated from the states and property values.
Any inputs that you set to nondirect feedthrough are ignored during output calculation.
outputImpl
is called by the internal output
method. It is also called before the updateImpl
method. For sink objects, calling updateImpl
before outputImpl
locks the object. For all other types of objects, calling
updateImpl
before outputImpl
causes an error.
You must set Access = protected
for this method.
If the System object will be used in the Simulink® MATLAB System block, you cannot modify any tunable properties in this method.