How to make a GUI work with bluetooth simultaneously?to plot continuously the information received from bluetooth via communication with a microcontroller

2 views (last 30 days)
I have created codes for both GUI and bluetooth. The codes run well independently. I am able to run the PAINT GUI i have created as well as connect and transmit values from micrcontroller to PC using the bluetooth module. The problem arises when I combine the 2 codes...If I put the bluetooth code anywhere in the GUI code..then the bluetooth module works....communication takes place but matlab does not generate the GUI window until and unless I close the bluetooth connection using fclose().
Please help because I want to receive coordinates from the microcontroller and plot them simultaneously on my GUI while using ceratin paint features like selecting a colour or brush or pencil. The major problem is the GUI is not getting created unless the connection is closed

Answers (0)

Community Treasure Hunt

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

Start Hunting!