polyspace.project.ProjectToolchain Class
R2026bNamespace: polyspace.project
Description
This Python® class represents the toolchain associated with a build configuration. A polyspace.project.ProjectToolchain object stores the toolchain name, version, and toolchain-specific configuration variables such as compiler paths.
You obtain a polyspace.project.ProjectToolchain object from the Toolchain property of a polyspace.project.OwnedBuildConfiguration or polyspace.project.BuildConfiguration object. To
change the toolchain, assign a toolchain name string to the Toolchain property of the build configuration.
Creation
Description
toolchain = buildConf.Toolchain returns the polyspace.project.ProjectToolchain object associated with the build configuration buildConf. Here, buildConf is a polyspace.project.OwnedBuildConfiguration or polyspace.project.BuildConfiguration object.
buildConf.Toolchain = sets the toolchain for the build configuration. If the specified toolchain name is different from the current toolchain, all toolchain settings (version, variables, customization options) are reset to their defaults. If the specified toolchain name is the same as the current toolchain, the existing settings are preserved.toolchainName
Input Arguments
Properties
Version History
Introduced in R2026b