Main Content

getExternalMode

Class: matlabshared.targetsdk.Target
Package: matlabshared.targetsdk

Get the external mode configuration for a target

Syntax

externalModeObjs = getExternalMode(targetObj)
externalModeObjs = getExternalMode(targetObj,'mapped')
externalModeObjs = getExternalMode(targetObj,'mapped',hardwareObject)
externalModeObjs = getExternalMode(targetObj,'unmapped')
externalModeObjs = getExternalMode(targetObj,'reference')
externalModeObjs = getExternalMode(targetObj,'name',externalModeName)

Description

externalModeObjs = getExternalMode(targetObj) returns all ExternalMode objects mapped to Target object or the Reference Target.

externalModeObjs = getExternalMode(targetObj,'mapped') returns all the ExternalMode objects mapped to Target object.

externalModeObjs = getExternalMode(targetObj,'mapped',hardwareObject) returns all ExternalMode objects mapped to the Target object and Hardware object.

externalModeObjs = getExternalMode(targetObj,'unmapped') returns all ExternalMode objects only mapped to the Reference Target and can be mapped to the Target object.

externalModeObjs = getExternalMode(targetObj,'reference') returns all ExternalMode objects mapped to the Reference Target of the Target object.

externalModeObjs = getExternalMode(targetObj,'name',externalModeName) returns the ExternalMode object with Name property equal to the externalModeName argument.

Input Arguments

expand all

Target object that references the Target being developed.

Hardware object that references the hardware board mapped to the Target.

Descriptive name of the Name property of a ExternalMode object contained in the Target object.

Example: 'MyExternalMode'

Data Types: char

Output Arguments

expand all

ExternalMode object or cell array of ExternalMode objects.

Introduced in R2015a