Simple GUI for serial port communication

Version 1.1.0.1 (14,2 KB) von Roger Yeh
Set up a serial connection to send and receive messages.
16,2K Downloads
Aktualisiert 1. Sep 2016

Lizenz anzeigen

This simple graphical user interface (GUI) allows you to quickly set up a serial port for simple communication.
There are two versions - Serial_GUI and Serial_GUI_noICT. Serial_GUI requires the Instrument Control Toolbox because it calls the INSTRHWINFO function to check for all available serial ports and automatically populates the upper right-hand corner listbox. Serial_GUI_noICT generates a list of serial ports (COM1 through COM12). These ports may or may not be available. Furthermore, there may be availabe ports not listed.

The port and baud rate can be specified, but only when disconnected. If connected, disconnect the serial connection first, make the changes, and re-connect.

[Note: This example was created in MATLAB R2009b, but has been tested to work on releases back to R2007b. May work on earlier releases as well.]

Zitieren als

Roger Yeh (2024). Simple GUI for serial port communication (https://www.mathworks.com/matlabcentral/fileexchange/26371-simple-gui-for-serial-port-communication), MATLAB Central File Exchange. Abgerufen .

Kompatibilität der MATLAB-Version
Erstellt mit R2009b
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS Linux
Kategorien
Mehr zu Instrument Control Toolbox finden Sie in Help Center und MATLAB Answers
Quellenangaben

Inspiriert: MATLAB AND ARDUINO SERIAL COMMUNICATION

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Veröffentlicht Versionshinweise
1.1.0.1

Updated license

1.1.0.0

Added screenshot. Changed the note on compatible versions.

1.0.0.0