Main Content

matlabshared.targetsdk.ExternalMode Class

Namespace: matlabshared.targetsdk

External mode configuration

Description

Use the ExternalMode class to represent the external mode configuration for a target.

MATLAB® produces an error if you attempt to map a PIL object or an ExternalMode object to a hardwareObject that has multiple IOInterface objects because the mapping request is ambiguous.

Creation

H = matlabshared.targetsdk.ExternalMode(externalModeName) creates an ExternalMode object H and sets the Name property to externalModeName.

Input Arguments

expand all

Name of the external mode 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

Name of a MATLAB function that executes when an external mode connection closes, specified as a character vector or string scalar.

Data Types: char | string

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

Data Types: char | string

Name of a MATLAB function that executes when an external mode connection opens, specified as a character vector or string scalar.

Data Types: char | string

Name of a MATLAB function that executes when an external mode connection is set up, specified as a character vector or string scalar.

Data Types: char | string

Source files used for building generated code in external mode, specified as a cell array of character vectors. Each source file must include a full path. Each path must be a full path. A path can include tokens. If you include a path separator in a string, the separator must be valid for all supported host platforms.

Data Types: cell

Version History

Introduced in R2015a