Digital Write
R2026bSet the logical state of the digital output pin
Libraries:
Simulink Coder Support Package for BeagleBone Blue Hardware /
Basic
Description
Add-On Required: This feature requires the Simulink Coder Support Package for BeagleBone Blue Hardware add-on.
The Digital Write block sets the logical state of the specified digital pin on the board.
During the external mode simulation, the block sets the value to the pin that you specify in the Pin parameter.
During simulation in all other modes, the block does nothing.
Ports
Input
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.
"bbblueBasicLib/Digital Write"
Example: add_block("bbblueBasicLib/Digital Write","myModel/myBlock",MakeNameUnique="on")
Version History
Introduced in R2018b