Main Content


Class: matlabshared.targetsdk.Target
Namespace: matlabshared.targetsdk

Get the Processor-In-the-Loop (PIL) configuration for a target


pilObjs = getDeployer(targetObj)
pilObjs = getPIL(targetObj,'mapped')
pilObjs = getPIL(targetObj,'mapped',hardwareObject)
pilObjs = getPIL(targetObj,'unmapped')
pilObjs = getPIL(targetObj,'reference')
pilObjs = getPIL(targetObj,'name',pilName)


pilObjs = getDeployer(targetObj) returns all PIL objects mapped to the Target object or the Reference Target.

pilObjs = getPIL(targetObj,'mapped') returns all the PIL objects mapped to Target object.

pilObjs = getPIL(targetObj,'mapped',hardwareObject) returns all PIL objects mapped to the Target object and Hardware object.

pilObjs = getPIL(targetObj,'unmapped') returns all PIL objects only mapped to the Reference Target and can be mapped to the Target object.

pilObjs = getPIL(targetObj,'reference') returns all PIL objects mapped to the Reference Target of the Target object.

pilObjs = getPIL(targetObj,'name',pilName) returns the PIL object with Name property equal to the pilName 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 PIL object contained in the Target object.

Example: 'MyPILImplementation'

Data Types: char

Output Arguments

expand all

PIL object or cell array of PIL objects.

Version History

Introduced in R2015a