PROBLEM RELATED TO GUI IN MATLAB

I am doing project 'COUNTING RBCs and WBCS FROM BLOOD SAMPLE USING IMAGE PROCESSING'. I have completed my task upto counting. This count displays on figure window. I have created seperate GUI to display that count. But, i dont have any idea to display the count of RBCs from figure window to GUI's textbox.
Plz somebody, help me out.. Thanking you..

답변 (1개)

Sean de Wolski
Sean de Wolski 2012년 2월 24일

0 개 추천

set(hTextbox,'string',num2str(count));
where hTextbox is the handle to the text box and coutn is the count.

댓글 수: 5

angel joseph
angel joseph 2012년 2월 24일
Thanks for your answer but
i didn't getting it, how to use it actually..
The figure window has the text of count which is static nd displayed with coding.
and i have seperate GUI's code, then how will it get that count???
where to put this set method???
angel joseph
angel joseph 2012년 2월 24일
I dont have deep knowledge about matlab. will u plz explain me what to do???
Walter Roberson
Walter Roberson 2012년 2월 24일
You would put that set() at the place in the code that is updating "the text of count which is static nd displayed with coding".
angel joseph
angel joseph 2012년 2월 25일
thank you sir, i got your point. but i have to send this count from figure window to another GUI. How to make connection between figure window and GUI???
Walter Roberson
Walter Roberson 2012년 2월 25일
http://matlab.wikia.com/wiki/FAQ#How_can_I_share_data_between_callback_functions_in_my_GUI.3F

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

태그

질문:

2012년 2월 24일

마감:

2021년 8월 20일

Community Treasure Hunt

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

Start Hunting!

Translated by