Main Content


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

Add new external mode configuration to BoardSupport object


externalModeObj = addNewExternalMode(boardSupportObj,name)


externalModeObj = addNewExternalMode(boardSupportObj,name) creates and adds externalModeObj, an soc.sdk.ExternalMode object, to boardSupportObj, an soc.sdk.BoardSupport object. name sets Name property of the ExternalMode 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.

Name for the ExternalMode object, specified as a character vector. The method assigns this value to the Name property of the ExternalMode object.

Example: "MyExternalMode"

Data Types: string | char

Output Arguments

expand all

soc.sdk.ExternalMode object that defines an external mode configuration aavailable to the soc.sdk.BoardSupport object.

Introduced in R2019b