Communication problems to an Arduino Board

조회 수: 2(최근 30일)
monmatlab 2016년 12월 19일
편집: monmatlab 2016년 12월 19일
I am working on MATLAB to communicate with an Arduino. The code is very simple. I am sending an A to the Board, and want to read 100 bytes from the device.
I keep getting this Warning: Warning: Unsuccessful read: The specified amount of data was not returned within the Timeout period..
and only 47 Bytes are read, which is the header, meaning that sending "A" to my board, did not have any effect on it, is there any solution?
fwrite(arduino, 'A');
daten = fread(arduino, 100, 'uint8');



Find more on MATLAB Support Package for Arduino Hardware in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by