Info
この質問は閉じられています。 編集または回答するには再度開いてください。
How to solved this serial comunication problem?
1 回表示 (過去 30 日間)
古いコメントを表示
Hello. I have a problem with serial communication in Matlab. I am sending information to an Arduino board to control some motors. When I send the information using a Serial monitor, all work perfectly. But when I do it using Matlab I need close the port, and open it again every times that I send something. I thought that could be the buffer and I tried to use the command "flushoutput" and "flushinput" without success. What could be the problem? Thanks in advance
1 件のコメント
Walter Roberson
2015 年 9 月 9 日
What happens if you do not close and open each time you want to send something?
What are you configuring as the line terminator?
回答 (0 件)
この質問は閉じられています。
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!