Detect ambiguous custom storage class final values
Description
Select the diagnostic action to take when your model contains a
Reusable
custom storage class that has more than one
endpoint. An endpoint is a usage of a Reusable
custom storage
class with no other downstream usages.
If your model contains a Reusable
custom storage class that
does not have a unique endpoint, the run-time environment must not use the variable
value because the value is ambiguous. For example, in this model, the final value of
RCSC_1
is ambiguous because it has two endpoints. If you
remove the specification from the signal line that leaves the Sum block or from the
signal line that leaves the top Bias block, the Reusable
custom
storage class has one endpoint.
Settings
Default:
warning
none
Simulink® software takes no action.
warning
Simulink software displays a warning.
error
Simulink software terminates the simulation and displays an error message.
Tip
If the run-time environment must use the final value of the signal with the
Reusable
custom storage class specification, set this
parameter to error. Remove one of the Reusable
custom storage
classes so that the Reusable
custom storage class has a unique
endpoint.
Command-Line Information
Parameter:RCSCObservableMsg |
Value:
'none' | 'warning' |
'error' |
Default:
'none' |
Recommended Settings
Application | Setting |
---|---|
Debugging | No impact |
Traceability | No impact |
Efficiency | No impact |
Safety precaution | error |
Related Topics
- Data Validity Diagnostics
- Specify Buffer Reuse for Signals in a Path (Embedded Coder)
- Model Configuration Parameters: Code Generation Optimization (Embedded Coder)