arduino communicating with matlab problem
1 view (last 30 days)
Show older comments
i wanted to communicate between arduino and matlab and i have written all the codes and it is running successfully but the problem arises after 4-5 min. of serial communication between them that matlab is not able write data to arduino, it is showing error:
??? Error using ==> serial.fprintf at 144
An error occurred during writing.
Error in ==> sectioning_with_arduino at 87
fprintf(s,'%s\n','2');
what is the problem i am not able to understand?...is buffer on the port gets full and matlab is not able to write data on it again?.... please help
thank you
0 Comments
Answers (0)
See Also
Categories
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!