필터 지우기
필터 지우기

Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

How to solved this serial comunication problem?

조회 수: 1 (최근 30일)
Set Rubio
Set Rubio 2015년 9월 8일
마감: MATLAB Answer Bot 2021년 8월 20일
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
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!

Translated by