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
error
Issue an error for context-dependent inputs.
warning
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 the "Function-call systems" examples in the Simulink "Subsystem Semantics" library).
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, open the sl_subsys_fcncallerr12 model and press the more info button.
Parameter: FcnCallInpInsideContextMsg |
Value: 'Error' | 'Warning' |
Default: 'Error' |
Application | Setting |
---|---|
Debugging | No impact |
Traceability | No impact |
Efficiency | No impact |
Safety precaution | Error |