Context-dependent inputs
Description
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
Settings
Default: error
error
Issue an error for context-dependent inputs.
warning
Issue a warning for context-dependent inputs.
Tips
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 Semanticsopen the model and press the more info button.
Command-Line Information
Parameter: FcnCallInpInsideContextMsg |
Value: 'Error' | 'Warning' |
Default: 'Error' |
Recommended Settings
Application | Setting |
---|---|
Debugging | No impact |
Traceability | No impact |
Efficiency | No impact |
Safety precaution | Error |