Simulink.getOutportInheritsInitialValue
Determine if conditional subsystem Outport block inherits initial output value
Since R2021a
Description
evaluates whether tf
= Simulink.getOutportInheritsInitialValue(outblock
)outblock
is a conditional subsystem
Outport block that inherits its initial output value from an input signal
connected to the conditional subsystem. If so, it returns true
. If not,
it returns false
. The return value is true
under the
same circumstances as the badge is displayed next to the Outport block
on the Simulink® canvas, as described in Conditional Subsystem Initial Output Values.
For the return value to be accurate, update or run the model before calling this function.
The value returned by this function is meaningful only if the model is using simplified
initialization mode. See Simplified Initialization Mode. If the model is using classic initialization mode,
the return value is always false
.
Examples
Input Arguments
Output Arguments
Version History
Introduced in R2021a