Main Content

addNewPIL

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

Add processor-in-the-loop simulation configuration to a board support

Syntax

pilObj = addNewPIL(boardSupportObj,name)

Description

pilObj = addNewPIL(boardSupportObj,name) creates a soc.sdk.PIL object and adds the object to the soc.sdk.BoardSupport object.

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.

A name assigned to the Name property of the PIL object.

Example: "MyPILImplementation"

Data Types: string | char

Output Arguments

expand all

soc.sdk.PIL object that references the processor-in-the-loop specification and libraries.

Introduced in R2019b