Main Content

setDisplayName

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

Set the display name of the hardware

Syntax

setDisplayName(boardSupportObj,hardwareObj,displayName)

Description

setDisplayName(boardSupportObj,hardwareObj,displayName) sets the display name of a soc.sdk.Hardware object to the value of displayName argument. After saving a soc.sdk.BoardSupport object using the save method, the display name becomes a selection in the Hardware Implementation > Hardware board property in the Simulink® configuration parameters.

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.

Display name to assign to the soc.sdk.Hardware object and features mapped to the soc.sdk.BoardSupport object.

Example: 'MyHardwareBoard'

Data Types: string | char

Version History

Introduced in R2019b