i am getting data from a sensor in serial communication, How to delete the first string i get from it
古いコメントを表示
after connection i want to print just acc , gyro and mag values. I get 'initializationsuccessful' as my first data set . I dont want that to be there. Help me out
for i= 1:50
data =fscanf(s,'%s');
if data(i)== 'initializationsuccesful!'
delete(data)
else
Acc_Val = data(:,1:21)
end
end
3 件のコメント
jonas
2018 年 7 月 10 日
I do not understand the question. Can you describe the data and the desired output?
arvind ramasamy
2018 年 7 月 11 日
回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Arduino Hardware についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!