Clear Filters
Clear Filters

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 view (last 30 days)
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?

Answers (1)

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

Categories

Find more on Embedded Coder in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!