Main Content

Context-dependent inputs


Select the diagnostic action to take when Simulink® has to compute any function-call subsystem inputs directly or indirectly during execution of a call to a function-call subsystem.

Category: Diagnostics


Default: error


Issue an error for context-dependent inputs.


Issue a warning for context-dependent inputs.


  • This situation occurs when executing a function-call subsystem that can change its inputs.

  • For examples of function-call subsystems, see Simulink Subsystem Semantics.

  • To fix an error or warning generated by this diagnostic, use one of these approaches:

    • For the Inport block inside of the function-call subsystem, enable the Latch input for feedback signals of function-call subsystem outputs parameter.

    • Place a Function-Call Feedback Latch block on the feedback signal.

    For examples of using these approaches, Simulink Subsystem Semantics open the model and press the more info button.

Command-Line Information

Value: 'Error'| 'Warning'
Default: 'Error'

Recommended Settings

DebuggingNo impact
TraceabilityNo impact
EfficiencyNo impact
Safety precautionError

Related Topics