Main Content

setDisplayName

R2026b

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

Set the display name of the hardware

Syntax

setDisplayName(boardSupportObj,hardwareObj,displayName)

Description

Add-On Required: This feature requires the SoC Blockset Support Package for AMD FPGA and SoC Devices add-on.

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™ for AMD features.

Hardware object mapped to the soc.sdk.BoardSupport object, specified as an soc.sdk.Hardware 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