Serial Transmit
R2026bSend buffered data to the serial port
Libraries:
Simulink Support Package for Android Devices /
Communication
Description
Add-On Required: This feature requires the Simulink Support Package for Android Devices add-on.
Send buffered data to the serial port.
The block input accepts vector or scalar data of data types, uint8, int8, uint16, int16, uint32, int32, double, single, or boolean.
During simulations, this block does nothing.
Note
Only one Serial Transmit and one Serial Receive blocks are allowed in a model.
Programmatic Use: Add Block
To add the block programmatically, use the add_block function with one of these library block paths as the source.
"androidcommunicationlib/Serial Transmit"
Example: add_block("androidcommunicationlib/Serial Transmit","myModel/myBlock",MakeNameUnique="on")
Version History
Introduced in R2019b
