Main Content

setup

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

Invoke toolchain setup commands specified by MATLABSetup and ShellSetup

Syntax

h.setup

Description

h.setup runs setup commands before starting the software build process. First, it runs the commands specified by coder.make.ToolchainInfo.MATLABSetup, and then it runs the commands specified by coder.make.ToolchainInfo.ShellSetup.

The commands in MATLABSetup run in your MATLAB® software.

The commands in ShellSetup run as system calls to the standard input of the operating system on your host computer. These commands are similar to what you enter when you use the command line.

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.

Output Arguments

expand all

Response indicating whether setup completed (0 = false, 1 = true), returned as a double.

Detailed information generated by the setup commands, returned as a character vector.

Examples

[success,report] = h.setup
success  = 

     1


report  = 

     ''