Custom Toolchain Options
Custom settings for tools in selected toolchain
Description
App Configuration Pane: Hardware
Configuration Objects: coder.CodeConfig
| coder.EmbeddedCodeConfig
The Custom Toolchain Options parameter specifies custom
settings for tools in the selected toolchain. To open custom toolchain settings, set the
Build
configuration parameter to Specify
and
click the Show settings link. The configuration dialog box displays
the settings that apply to the toolchain that you specify by using the Toolchain parameter.
Settings
The settings vary depending on the specified toolchain. The values derive from the toolchain definition file and third-party compiler options.
Programmatic Use
Property:
CustomToolchainOptions |
Values: cell array |
Tips
To configure custom toolchain options at the command line, set the
BuildConfiguration
property to 'Specify'
. The
code generator populates the CustomToolchainOptions
cell array based
on the toolchain definition file and third-party compiler options. Edit this cell array
to customize the toolchain options. For
example:
cfg = coder.config('lib'); cfg.BuildConfiguration='Specify'; opt = cfg.CustomToolchainOptions
Then, edit the values in opt
.
Version History
Introduced in R2017b