Main Content
"rt" prefix for identifiers
Description
Select the diagnostic action to take during code generation
if a Simulink® object name (the name of a parameter, block, or
signal) begins with rt
.
Category: Diagnostics
Settings
Default: error
none
Simulink software takes no action.
warning
Simulink software displays a warning.
error
Simulink software terminates the simulation and displays an error message.
Tips
The default setting (
error
) causes code generation to terminate with an error if it encounters a Simulink object name (parameter, block, or signal), that begins withrt
.This is intended to prevent inadvertent clashes with generated identifiers whose names begins with
rt
.
Command-Line Information
Parameter: RTPrefix |
Value: 'none' | 'warning' | 'error' |
Default: 'error' |
Recommended Settings
Application | Setting |
---|---|
Debugging | No impact |
Traceability | No impact |
Efficiency | No impact |
Safety precaution | error |