MATLAB: I Have a value of bwarea, how can I get this value and show in edit text in the GUI

bwareagui

Example:
EDITOR: bwarea(a)
COMMAND WINDOW: ans = 10 % (I need to show this value in my edit text GUI)
anybody help me? thanks!!!

Best Answer

set(handles.text1, 'String', num2str(bwarea(a)) )
Related Question