saving data from serial port communication

1 vue (au cours des 30 derniers jours)
akin hunerli
akin hunerli le 15 Mar 2016
i have a problem with serial communication the problem is that i m using arduino to get sound with microphone i m recieving into the matlab but i cant save it as a vector
s = serial('COM4');
fopen(s)
record(s,'on')
fprintf(s,'*IDN?')
out = fscanf(s);
fclose(s)
this part of my program
could you help me ?

Réponses (1)

Walter Roberson
Walter Roberson le 16 Mar 2016

Catégories

En savoir plus sur MATLAB dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by