Main Content

setBuilderApplication

Class: coder.make.ToolchainInfo
Namespace: 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

  • MACA64

  • GLNXA64

Data Types: char | string

Examples

The intel_tc.m file from Add Custom Toolchains to MATLAB® Coder™ Build Process, 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.

Version History

Introduced in R2013a