Push Button
R2026bConnect signals attached to push buttons on hardware board
Libraries:
SoC Blockset for AMD /
SoC System Simulation /
Hardware Logic I/O
HDL Coder /
SoC System Simulation /
Hardware Logic I/O
Description
The Push Button block controls the hardware mechanism. The hardware logic signals connected to a Push Button block are equivalent to the signals connected to the push buttons on the hardware board.
Ports
Input
Output
Parameters
Programmatic Use: Add Block
To add the block programmatically, use the add_block function with one of these library block paths as the source.
"hwlogiciolib/Push Button"
"hwlogiciolib/Push Button"
Example: add_block("hwlogiciolib/Push Button","myModel/myBlock",MakeNameUnique="on")
Extended Capabilities
Version History
Introduced in R2019a