when i transmit a string through serial from a gui i created It keeps sending repeatedly. How to make it to send only once?

1 visualización (últimos 30 días)
I made a gui in matlab where it takes an input string and transmits through usb serial communication to another usb serial port. But when i send i am able to see that the string keeps on getting transmitted until i end the connection. how to solve this problem?

Respuestas (1)

Paramesh
Paramesh el 7 de Abr. de 2017
Use conditions.like if and else ,if condition is true,output will be sent otherwise not send

Categorías

Más información sobre Get Started with MATLAB en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by