Specify whether to log or monitor error status.
Category: Code Generation > Interface
Default: off
Omits the error status field from the generated real-time model data structure
rtModel
. This option reduces memory usage.
Be aware that selecting this option can cause the code generator to omit the
rtModel
data structure from generated code.
Includes an error status field in the generated real-time model data structure
rtModel
. You can use available macros to monitor the field for
error message data or set it with error message data.
This parameter appears only for ERT-based targets.
This parameter requires an Embedded Coder® license when generating code.
Selecting this parameter clears parameter Support: continuous time.
If your application contains multiple integrated models, the setting of this parameter must be the same for all of the models to avoid unexpected application behavior. For example, if you select the option for one model but not another, an error status might not get registered by the integrated application.
Parameter:
SuppressErrorStatus |
Type: character vector |
Value:
'on' | 'off' |
Default:
'off' |
Application | Setting |
---|---|
Debugging | Off |
Traceability | No impact |
Efficiency | On |
Safety precaution | No recommendation |