Main Content

Toolchain

Toolchain to use for building a C/C++ library or executable program

Description

App Configuration Pane: Hardware

Configuration Objects: coder.CodeConfig | coder.EmbeddedCodeConfig

The Toolchain parameter specifies the toolchain to use for building a C/C++ library or executable program. The list of available toolchains depends on the host computer platform, and can include custom toolchains that you added. If you do not specify a toolchain, the code generator locates an installed toolchain.

If you export your configuration parameters and use these parameters on another host computer that does not support the selected toolchain, the code generator selects another toolchain automatically. The code generator sets the Toolchain parameter to Automatically locate an installed toolchain.

Settings

Automatically locate an installed toolchain

The code generator selects a toolchain automatically. This setting is the default setting.

List of other toolchains

The app populates the Toolchain list based on the target hardware.

Programmatic Use

Property: Toolchain
Values: 'Automatically locate an installed toolchain' | character vector
Default: 'Automatically locate an installed toolchain'

Version History

Introduced in R2017b