Main Content
Header guard prefix
Custom text to prepend to generated header guards
Since R2024a
Model Configuration Pane: Code Generation / Identifiers
Description
Specify custom text to prepend to header guards in the generated code.
Settings
''
(default) | stringEnter text to prepend to header guards in the generated code. If nonempty, the string must start with an underscore or alphabetic character. The string must contain only alphanumeric characters and underscores.
Recommended Settings
Application | Setting |
---|---|
Debugging | No impact |
Traceability | No impact |
Efficiency | No impact |
Safety precaution | No impact |
Programmatic Use
Parameter:
HeaderGuardPrefix
|
Type: character vector |
Value:
'' or valid string of alphanumeric characters and underscores |
Default:
'' |
Version History
Introduced in R2024a