title: Updating all components of a Matlab gui (created with guide)
body: <p>My Matlab GUI is a form with many text fields that are initially populated using the same data struct. Each text field has a callback and a create function, where the text field is assigned the value of the given struct. However, at some later point I would like to repopulate the form using a different struct, as an event triggered by pressing a push button. The code looks approximately like: </p>
  
  <pre><code>h = MyFigure;
  global mystruct
  
  mystruct = somevalues;
  
  handles = guidata(h);
  
  set( handles.textfield1, 'String', mystruct.value1 )
  ...
  set( handles.textfieldN, 'String', mystruct.valueN )
  </code></pre>
  
  <p>However, if I could make Matlab call all these callbacks recursively (like a "validate tree" function), I wouldn't have to call "set" for each text field. I have tried refresh(h) and drawnow(), with no luck. </p>
  
  <p>Now my question is whether or not there is such a function built into the matlab guide framework?</p>