Main Content

addNewExternalMode

Class: soc.sdk.BoardSupport
Namespace: soc.sdk

Add new external mode configuration to BoardSupport object

Syntax

externalModeObj = addNewExternalMode(boardSupportObj,name)

Description

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 available to the soc.sdk.BoardSupport object.

Version History

Introduced in R2019b