Effacer les filtres
Effacer les filtres

Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

How to solved this serial comunication problem?

1 vue (au cours des 30 derniers jours)
Set Rubio
Set Rubio le 8 Sep 2015
Clôturé : MATLAB Answer Bot le 20 Août 2021
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 commentaire
Walter Roberson
Walter Roberson le 9 Sep 2015
What happens if you do not close and open each time you want to send something?
What are you configuring as the line terminator?

Réponses (0)

Cette question est clôturée.

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by