Main Content

matlabshared.targetsdk.Loader Class

Namespace: matlabshared.targetsdk

Describe how to load code to hardware

Description

Use the Loader class to represent a system command or a MATLAB® function that loads code to the hardware.

Creation

H = matlabshared.targetsdk.Loader(loaderName) creates a Loader object H and sets the Name property to loaderName.

Input Arguments

expand all

Name of the loader configuration, specified as a character vector or string scalar.

This argument sets the Name property as a character vector.

Data Types: char | string

Properties

expand all

The command that loads generated code to hardware, specified as a character vector or string scalar.

The load command can be a system command or a MATLAB function. If it is a MATLAB function, the command must include matlab: as a prefix.

Data Types: char | string

The arguments for the load command, specified as a character vector or string scalar.

Data Types: char | string

The name of the loader, specified as a character vector or string scalar.

Data Types: char | string

Version History

Introduced in R2015a