MATLAB: How to input information in edit textbox automatically

edit textboxguimatlab gui

Hi
I have some problem with putting information in edit textbox automatmatically my gui is about giving information about the image size in pixel what i want is when the my gui load the image, the edit textbox automatically give the information about the image size does anyone know? thanks before

Best Answer

set(handles.editbox1, 'String', str2num(size(YourImage)) )