Documentation Center

  • Trials
  • Product Updates

matlab.system.mixin.Nondirect class

Package: matlab.system.mixin

Nondirect feedthrough mixin class


matlab.system.mixin.Nondirect is a class that uses the output and update methods to process nondirect feedthrough data through a System object™. For most System objects direct feedthrough, where the object's input is needed to generate the output, is enabled by default. For these direct feedthrough objects, the step method calculates the output and updates the state values. For nondirect feedthrough, however, the object's output depends only on the internal states. The inputs are used to update the object states. For these objects, calculating the output is separated from updating the state values.

Objects that use the Nondirect mixin allow more simple creation of feedback loops. The process is simpler because the object's output does not depend on its input at each instant in time. A delay object is an example of a nondirect feedthrough object.

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 object:

classdef ObjectName < matlab.system &...


isInputDirectFeedthroughImplDirect feedthrough status of input
outputImplOutput calculation from input or internal state of System object
updateImplUpdate object states based on inputs

See Also


How To

Was this topic helpful?