saving data from serial port communication

3 ビュー (過去 30 日間)
akin hunerli
akin hunerli 2016 年 3 月 15 日
回答済み: Walter Roberson 2016 年 3 月 16 日
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 ?

回答 (1 件)

Walter Roberson
Walter Roberson 2016 年 3 月 16 日

カテゴリ

Help Center および File ExchangeMATLAB についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by