Compiler flags - MATLAB & Simulink (original) (raw)

Main Content

Description

Specify additional flags to be added to the compiler command line.

Category: Simulation Target

Settings

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

Command-Line Information

Parameter: SimCustomCompilerFlags
Type: character vector
Value: compiler flags
Default: ''
Application Setting
Debugging No impact
Traceability No impact
Efficiency No impact
Safety precaution No recommendation

See Also

Topics