Main Content


Class: soc.sdk.BoardSupport
Package: soc.sdk

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


pilObjs = getPIL(boardSupportObj)
pilObjs = getPIL(boardSupportObj,'mapped')
pilObjs = getPIL(boardSupportObj,'mapped',hardwareObject)
pilObjs = getPIL(boardSupportObj,'unmapped')
pilObjs = getPIL(boardSupportObj,'reference')
pilObjs = getPIL(boardSupportObj,'name',name)


pilObjs = getPIL(boardSupportObj) returns all soc.sdk.PIL objects mapped to the soc.sdk.BoardSupport object or reference board support.

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

pilObjs = getPIL(boardSupportObj,'mapped',hardwareObject) returns all PIL objects mapped to the BoardSupport object and soc.sdk.Hardware object.

pilObjs = getPIL(boardSupportObj,'unmapped') returns all PIL objects only mapped to the reference board support and that can be mapped to the BoardSupport object.

pilObjs = getPIL(boardSupportObj,'reference') returns all PIL objects mapped to the reference board support.

pilObjs = getPIL(boardSupportObj,'name',name) returns the PIL object with Name property equal to the name argument.

Input Arguments

expand all

BoardSupport object, specified as an soc.sdk.BoardSupport object, defines a hardware board that you can use with the SoC Blockset™ features.

soc.sdk.Hardware object mapped to the soc.sdk.BoardSupport object.

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

Example: "MyPILImplementation"

Data Types: string | char

Output Arguments

expand all

PIL object or cell array of PIL objects.

Introduced in R2019b