matlabshared.targetsdk.Deployer class

Package: matlabshared.targetsdk
Superclasses:

Application deployment configuration

Description

A Deployer object represents a deployer used to deploy generated code to the Hardware that a Target supports.

Construction

H = Deployer(deployerName) returns a Deployer object, H, with the Name property set to deployerName..

Input Arguments

expand all

Name of the deployer, specified as a string.

Data Types: char

Properties

expand all

The MATLAB® function to invoke after code is generated, specified as a string. The default is ''.

Data Types: char

The MATLAB function to invoke at start of build, specified as a string. The default is ''.

Data Types: char

The source code functions that initialize hardware, specified as a cell array of strings. The default is {}. Each function is called from the generated main file. Functions are assumed to take no input arguments.

Data Types: cell

The Loader objects for the hardware, specified as a cell array of objects. The default is {}.

Data Types: cell

The include files to include into generated main file, specified as a cell array of strings. The default is {}.

Data Types: cell

The name of the Deployer used for hardware, specified as a string of characters. The default is ''.

Data Types: char

Strings to replace with other strings during code generation, specified as a cell array of structures. Each structure has two fields: Name and Value.

Name is a token string of the form $(SOME_NAME), which is replaced during code generation.

Value is the string that replaces Name during code generation. You must set Value in one of the following ways:

  • Empty string. In this case, you must define an environment variable with the corresponding name (that is, SOME_NAME).

  • MATLAB function. The build process evaluates the function when the process encounters the token.

  • String. The string replaces Name.

Data Types: cell

The Toolchain objects for the hardware, specified as a cell array of objects. The default is {}.

Data Types: cell

Methods

addNewLoaderAdd new loader to target
addNewToolchainAdd toolchain to deployer
deleteLoaderDelete loader from deployer
deleteToolchainDelete toolchain from deployer

Introduced in R2015a