UART
UART (Universal Asynchronous Receiver Transmitter)
Class which can communicate via UART bit banging with DAQ hardware (including USB, PCI, PCI Express®, PXI, and PXI-Express devices, from National Instruments) to another UART module.
Tested with NI DAQ USB 6251, Matlab R2016b. Should also work with Matlab R2010b and higher versions (not tested).
It is not the best way to communicate with a NI DAQ to another UART modul. It is more common to communicate via USB to another UART module, but if you want to save cable and have an easy communication protocol to control a microcontroller I would prefer UART bit banging via NI DAQ.
If you have questions, concerns or ideas for improvement please feel free to contact me.
If you are going to change this class and distribute, please refer to my name.
Cite As
Rune Monzel (2026). UART (https://www.mathworks.com/matlabcentral/fileexchange/62149-uart), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
@UART/
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 |
