Remove error status field in real-time model data structure
Whether to log error status
Model Configuration Pane: Code Generation / Interface
Description
The Remove error status field in real-time model data structure parameter specifies whether to log error status data in the real-time model data structure rtModel
. Select this parameter to reduce memory usage.
If your application contains multiple integrated models, the setting of this parameter must be the same for the models to avoid unexpected application behavior. For example, if you select the parameter for one model but not another, an error status might not get registered by the integrated application.
Selecting this parameter clears the Support: continuous time parameter.
Settings
Off
(default) | On
- On
Omits the error status field from the generated real-time model data structure
rtModel
.Selecting this parameter can cause the code generator to omit the
rtModel
data structure from the generated code.- Off
Includes an error status field in the generated
rtModel
data structure. You can use available macros to:Monitor the field for error message data.
Set the field with error message data.
Recommended Settings
Application | Setting |
---|---|
Debugging | Off |
Traceability | No impact |
Efficiency | On |
Safety precaution | No recommendation |
Programmatic Use
Parameter: SuppressErrorStatus |
Type: character vector |
Value: 'on' | 'off' |
Default: 'off' |
Version History
Introduced before R2006a