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 the "Function-call systems" examples in the Simulink"Subsystem Semantics"library).
To fix an error or warning generated by this diagnostic, useoneof these approaches:
For the Inport block inside of the function-call subsystem, enable theLatch input for feedback signals of function-call subsystem outputsparameter.
Place a Function-Call Feedback Latch block on the feedback signal.
For examples of using these approaches, open thesl_subsys_fcncallerr12model and press the更多信息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 |