Main Content

removePushButton

Class: soc.sdk.Hardware
Namespace: soc.sdk

Remove push button from hardware

Syntax

removePushButton(hardwareObj,name)

Description

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

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

Hardware object mapped to the soc.sdk.BoardSupport object, specified as an soc.sdk.Hardware object.

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

Example: "MyPushButton"

Data Types: string | char

Version History

Introduced in R2019b