coder.make.upgradeToolchain
R2026bAutomate upgrading toolchain defined using
coder.make.ToolchainInfo to Target Framework
Since R2026b
Syntax
Description
coder.make.upgradeToolchain(
generates MATLAB® files that assist you in upgrading the originalToolchain)coder.make.ToolchainInfo-defined toolchain,
originalToolchain, to its target.Toolchain
equivalent.
coder.make.upgradeToolchain(
specifies options using one or more name-value arguments.originalToolchain,Name=Value)
The function generates:
A file that assists in defining a Target Framework
target.Toolchainobject that is equivalent to the original toolchain defined usingcoder.make.ToolchainInfoA file that converts intrinsic macros in the original toolchain to MATLAB settings or environment variables, depending on the value of
UseMATLABSettings
These files might contain To do comments that provide
additional information or enable you to amend the toolchain definition based on the
requirements of your build.
Examples
Input Arguments
Name-Value Arguments
Version History
Introduced in R2026b
See Also
target.Toolchain | coder.make.ToolchainInfo | addIntrinsicMacros
Topics
- Define Custom Makefile-Based Toolchains Using Target Framework (Simulink Coder)