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..

Answers (1)

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

5 Comments

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???
I dont have deep knowledge about matlab. will u plz explain me what to do???
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".
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???
http://matlab.wikia.com/wiki/FAQ#How_can_I_share_data_between_callback_functions_in_my_GUI.3F

This question is closed.

Tags

Asked:

on 24 Feb 2012

Closed:

on 20 Aug 2021

Community Treasure Hunt

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

Start Hunting!