coder.make.getToolchainInfoFromRegistry

Get copy of selected ToolchainInfo object from registry

Description

example

h = coder.make.getToolchainInfoFromRegistry(tc_name) returns a copy of the toolchain information object that is registered with the specified name.

Examples

collapse all

To retrieve information about the default toolchain, run:

tc_name=coder.make.getDefaultToolchain();
h=coder.make.getToolchainInfoFromRegistry(tc_name)

The function produces:

h = 

###########################################################################
# Toolchain Name: Microsoft Visual C++ 2017 v15.0 | nmake (64-bit Windows)
# Supported Toolchain Version: 15.0
# Toolchain Specification Format Version: 2019b
# Toolchain Specification Revision: 1.0
###########################################################################

Input Arguments

collapse all

Toolchain name, specified as a character vector.

Data Types: char

Output Arguments

collapse all

A coder.make.ToolchainInfo object, specified using an object handle, such as h. To create h, enter h = coder.make.ToolchainInfo in a MATLAB® Command Window.

Introduced in R2016b