How to write the data from a serial port into a text file using MATLAB?

5 vues (au cours des 30 derniers jours)
SHRUTHI k
SHRUTHI k le 9 Jan 2016
Hello all. I want to write data from serial port into a text file using MATLAB. I am generating the data to serial port using Arduino software (ADC operation using Arduino). The digital data in hex format is available in serial port. But I am not able to write it to a text file using Matlab command (I can view the data both in serial monitor of arduino and hyperterminal). fwrite(s,'1'); this is the command that i used. Can anyone please help me to solve this problem? Thank you in advance.

Réponses (0)

Catégories

En savoir plus sur Instrument Control Toolbox Supported Hardware dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by