"rt" prefix for identifiers
Diagnostic action to take during code generation if parameter, block, or signal name begins with rt
Model Configuration Pane: Diagnostics / Data Validity
Description
The "rt" prefix for identifiers parameter specifies the diagnostic action
to take during code generation if the name of a Simulink® object, such as a parameter, block, or signal,
begins with rt
. By default, the software
issues an error during code generation to prevent clashes with
generated identifiers that begin with
rt
.
Settings
error
(default) | warning
| none
error
The software issues an error and terminates code generation if the name of a Simulink object begins with
rt
.warning
The software issues a warning during code generation if the name of a Simulink object begins with
rt
.none
The software does not issue a diagnostic during code generation if the name of a Simulink object start with
rt
.
Recommended Settings
Application | Setting |
---|---|
Debugging | No impact |
Traceability | No impact |
Efficiency | No impact |
Safety precaution | error |
Programmatic Use
Parameter: RTPrefix |
Type: string | character vector |
Value: "none" | "warning" | "error" |
Default: "error" |
Version History
Introduced in R2006a