Class: matlab.system.mixin.Nondirect
Package: matlab.system.mixin
Update object states based on inputs
updateImpl(obj,u1,u2,...,uN)
updateImpl(obj,u1,u2,...,uN)
specifies the algorithm to update the
System
object™ states. You use this method when your algorithm outputs depend only on the
object’s internal state and internal properties. Do not use this method to update the
outputs from the inputs.
updateImpl
is called by the update
method and after the outputImpl
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.
You cannot modify any tunable properties in this method if its System object will be used in the Simulink® MATLAB System block.
|
System object handle |
|
Inputs to the algorithm. The number of inputs must match the number of inputs
returned by the |