I am learning GUI programmin in Matlab.
I found out that it is pretty tricky that the handles structure used for storing all gui Data. I'd like to know how exactly the structure is. I will use an example to explain my question.
let's say, we have created edittext1.
we would have handles.edittext1 stored. then
str = get(hObject,'String');
set(handles.edittext1,'String',str);
this will set String in handles.edittext1 to str.
My question is surprisingly for me, 'String' in the get and set operation is not case sensitive.
And handles.edittext1.String does not return the the stored string.
So, handles is not a structure array, and as a question following with, what structure of handles should it be? And the same question can be asked to hObject as well.
And no, it is not a homework or assignment. It is an ongoing project for my job. I have worked with matlab for years but this is the first time for me to make a GUI with matlab. So, please treat me as a newbie.
regards