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