Compiler flags
Flags for compiler command line
Model Configuration Pane: Simulation Target
Description
The compiler flags parameter specifies additional flags to be added to the compiler command line.
Settings
none (default)
Enter a list of additional flags for the compiler command line. Specify the flags with a space-separated list. If a makefile is generated, these flags are added to the compiler command line in the makefile. Acceptable flag content and syntax depend on the compiler being used.
Examples: -Zi -Wall, -O3, -w
Recommended Settings
| Application | Setting |
|---|---|
| Debugging | No impact |
| Traceability | No impact |
| Efficiency | No impact |
| Safety precaution | No recommendation |
Programmatic Use
Parameter: SimCustomCompilerFlags |
| Type: character vector |
| Value: compiler flags |
Default: "" |
Version History
Introduced in R2020b