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 Ansicht (letzte 30 Tage)
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?

Antworten (1)

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

Kategorien

Mehr zu Get Started with MATLAB finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by