File Exchange

image thumbnail

Serial Monitor (Debugger)

version (8.22 KB) by Ankit Desai
MATLAB substitute for Arduino's Serial Monitor (Debugger).


Updated 05 Jun 2014

View Version History

View License

*MATLAB substitute for Arduino's Serial Monitor (Debugger)
*Displays strings printed from Arduino code using print and println.
*Allows saving of all the data to MATLAB workspace as 'serialData' variable.
*Currently does not support writing to Serial Port.

Cite As

Ankit Desai (2021). Serial Monitor (Debugger) (, MATLAB Central File Exchange. Retrieved .

Comments and Ratings (11)

Eduardo Sanchez

Without the option to select the baudrate, unfortunately is useless :(

Haonan SUN

It is a very useful app. Thanks for your sharing. At the same time, I would like to change the sampling frequency. How could I implement it?

Pedro Inacio

Excellent work with this App. Thanks for your assistance and for share!

victor chang



Whitout the option of select the BaudRate, it's non interesting..!!

Alex Spacek

This looks good but baud rate selection is just as important as COM Port...

Guido Schroeer

Missing the option to change the Baudrate


Is there any way I can have the app run, connect, and save the output when I tell it to via code? Thanks in advance.

Ankit Desai

All commands sent from Arduino via print and println commands will show up in the Serial Monitor.

You should be able to see the commands in the text area of the app. Clicking "Save" will save the text content to MATLAB Workspace as "SerialData" variable.

chfakht chfakht

thanks ,
but how does is it work ...
can i save the data from arduino to matlab workspace with it ?
i have chosen my arduino port (COM14)
i'm using a IMU motion sensor but when i click save i got in matlab workspace : Empty string: 1-by-0

MATLAB Release Compatibility
Created with R2014a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!