Main Content

setDisplayName

Class: matlabshared.targetsdk.Target
Package: matlabshared.targetsdk

Set the display name of the hardware

Syntax

setDisplayName(targetObj,hardwareObject,displayName)

Description

setDisplayName(targetObj,hardwareObject,displayName) sets the display name of a Hardware object to the value of displayName argument. After saving a Target target using the saveTarget function, the display name becomes a selection in the Hardware Implemention > Hardware board property in the Simulink® configuration parameters.

Input Arguments

expand all

Target object that references the Target being developed.

Hardware object that references the hardware board mapped to the Target.

Display name to assign to the Hardware object and features mapped to the object

Example: 'MyHardwareBoard'

Data Types: char | string

Introduced in R2015a