Main Content

setBuilderApplication

Class: coder.make.ToolchainInfo
Package: coder.make

Update builder application to work on specific platform

Syntax

h.setBuilderApplication(platform)

Description

h.setBuilderApplication(platform) updates options in the coder.make.BuildTool object in coder.make.ToolchainInfo.BuilderApplication to work on a specific platform.

Input Arguments

expand 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.

To specify development computer, use one of these values:

  • WIN32

  • WIN64

  • MACI64

  • GLNXA64

Data Types: char | string

Examples

The intel_tc.m file from Adding a Custom Toolchain, uses the following lines to update the BuilderApplication property:

% ------------------------------
% Builder
% ------------------------------

tc.setBuilderApplication(tc.Platform);

Tips

  • You must use this method you if you plan to use the custom toolchain on a computer running Windows® and the value of coder.make.ToolchainInfo.BuildArtifact is gmake makefile.