Main Content

removePushButton

Class: soc.sdk.Hardware
Package: soc.sdk

Remove push button from hardware

Syntax

removePushButton(hardwareObj,name)

Description

removePushButton(hardwareObj,name) removes the soc.sdk.PushButton object, with Name property set to name, from the soc.sdk.Hardware object.

Input Arguments

expand all

soc.sdk.Hardware object mapped to the soc.sdk.BoardSupport object.

Name of the push button on the hardware board, specified as a string.

Example: "MyPushButton"

Data Types: string | char

Introduced in R2019b