can you help me !!

I want receive data in GUI from other program, by com1 and Bautrate 9600. and show me this result in text1.

답변 (1개)

Image Analyst
Image Analyst 2015년 4월 7일

0 개 추천

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.

이 질문은 마감되었습니다.

태그

아직 태그를 입력하지 않았습니다.

질문:

2014년 11월 20일

마감:

2021년 8월 20일

Community Treasure Hunt

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

Start Hunting!

Translated by