Info

Questa domanda è chiusa. Riaprila per modificarla o per rispondere.

can you help me !!

2 visualizzazioni (ultimi 30 giorni)
Abdoo
Abdoo il 20 Nov 2014
Chiuso: MATLAB Answer Bot il 20 Ago 2021
I want receive data in GUI from other program, by com1 and Bautrate 9600. and show me this result in text1.

Risposte (1)

Image Analyst
Image Analyst il 7 Apr 2015
string = sprintf('%d, ', data);
set(handles.text1, 'String', string);
data is your numerical array for the data you receive. I'm assuming you used GUIDE and text1 is the tag of the static text label you have on your GUI and that will display the data. Call this code whenever data changes and you want to update that on your GUI.

Questa domanda è chiusa.

Tag

Non è stata ancora inserito alcun tag.

Community Treasure Hunt

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

Start Hunting!

Translated by