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 (최근 30일)
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?

답변 (1개)

Paramesh
Paramesh 2017년 4월 7일
Use conditions.like if and else ,if condition is true,output will be sent otherwise not send

카테고리

Help CenterFile Exchange에서 Get Started with MATLAB에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by