Class: matlab.System
System output and state update equations
[output,output2,...] = stepImpl(obj,input1,input2,...)
[
specifies the algorithm to execute when you run the System object™. Running the object calculates the outputs and updates the object’s state values
using the inputs, properties, and state update equations. You can also run an object using
function-like syntax instead of the output
,output2,...] = stepImpl(obj
,input1,input2,...
)step
method. For
example, if you define an FFT object using txfourier = dsp.FFT
, you can run
it simply by using txfourier()
.
stepImpl
is called via step
when you run the System object. Users can also run the System object via the System object name, which calls step
. For details, see Detailed Call Sequence.
You must set Access = protected
for this method.
The number of input arguments and output arguments must be greater than or equal to
the numbers returned by the getNumInputsImpl
and getNumOutputsImpl
methods, respectively.
Do not call release
within the stepImpl
method.