How to display what's shown inside an Arduino's Serial Monitor , in a MATLab program? From Arduino we can display the output via serial monitor using serial.println and serial.print. But how to display the serial.println and serial.print from arduino inside MATlab? If in Qt programming, anything can be shown in QDebug, but I really don't know how it goes for MATLab.
Maybe just a simple serial.println('1') to show the character '1' in the serial monitor. Then, how can we program the MATLAB to read/detect the '1' and do something about it, such as.... creating a simple textfile?
Can anyone please teach me?
Thanks.