Specify the toolchain to use when building an executable or library.
Note
This parameter only appears when the model is configured to use a toolchain-based code generation target, as described in Choose Build Approach and Configure Build Process.
Category: Code Generation
Default:
Automatically locate an installed toolchain
The list of available toolchains depends on the host computer platform, and can include custom toolchains that you added.
When Toolchain is set to Automatically locate an
installed toolchain
, the code generator:
Searches your host computer for installed toolchains.
Selects the most current toolchain.
Displays the name of the selected toolchain immediately below the drop down menu.
Click the Configuration Parameters > Code Generation > Advanced parameters > Toolchain > Validate Toolchain button to verify that the registration information for the toolchain is valid. When the validation process is complete, a separate Validation report window opens and displays the results. The Validation report states whether the toolchain registration Passed or Failed and provides status for each step and build tool in the validation process. If the tool chain definition omits a build tool, validation skips the unspecified tool. To fix a failure (for example, the build tool definition omits a required build tool such as compiler or linker), edit the toolchain definition and repeat the registration process.
Parameter:
Toolchain |
Type: character vector |
Value:
'Automatically locate an installed toolchain' | A valid toolchain
name |
Default:
'Automatically locate an installed toolchain' |
Application | Setting |
---|---|
Debugging | No impact |
Traceability | No impact |
Efficiency | No impact |
Safety precaution | No impact |