title: handles structure in matlab GUI
body: <p>I am learning GUI programmin in Matlab.</p>
  
  <p>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.</p>
  
  <p>let's say, we have created edittext1.</p>
  
  <p>we would have handles.edittext1 stored.
  then</p>
  
  <pre><code>str = get(hObject,'String');
  set(handles.edittext1,'String',str);
  </code></pre>
  
  <p>this will set String in handles.edittext1 to str.</p>
  
  <p>My question is 
  surprisingly for me, 'String' in the get and set operation is not case sensitive.</p>
  
  <p>And handles.edittext1.String does not return the the stored string.</p>
  
  <p>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.</p>
  
  <p>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.</p>
  
  <p>regards</p>