Direct feedthrough status of input
[flag1,...,flagN] = isInputDirectFeedthroughImpl(obj,u1,u2,...,uN)
[flag1,...,flagN] = isInputDirectFeedthroughImpl(obj,u1,u2,...,uN) indicates
whether each input is a direct feedthrough input. If direct feedthrough
true, the output depends on the input at each
You must set
You cannot modify any properties or implement or access tunable properties in this method.
If you do not include the
in your System object™ class definition file, all inputs are assumed
to be direct feedthrough.
The following cases describe when System objects in Simulink® code generation use direct or nondirect feedthrough.
System object supports code generation and does
not inherit from the
Propagates mixin — Simulink automatically
infers the direct feedthrough settings from the System object code.
System object supports code generation and inherits
Propagates mixin — Simulink does
not automatically infer the direct feedthrough settings. Instead,
it uses the value returned by the
System object does not support code generation
returns false, indicating that direct feedthrough is not enabled.
To override the default behavior, implement the
in your class definition file.
isInputDirectFeedthroughImpl is called by the
System object handle
Specifications of the inputs to the algorithm or
Logical value or either