Main Content

matlabshared.targetsdk.ExternalMode Class

Namespace: matlabshared.targetsdk
Superclasses:

External mode configuration

Description

An ExternalMode object that represents the external mode configuration for a target.

An error is thrown if you attempt to map a PIL object or an ExternalMode object to a hardwareObject that has multiple IOInterface objects since the mapping request is ambiguous.

Construction

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

Input Arguments

expand all

Name of the external mode configuration, specified as a string.

Data Types: char

Properties

expand all

Name of a MATLAB® function that executes when an external mode connection closes, specified as a string.

Data Types: char

Name of the external mode configuration, specified as a string.

Data Types: char

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

Data Types: char

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

Data Types: char

Source files used for building generated code in external mode, specified as a cell array of strings. 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