title: How to call a function in Matlab GUI?
body: <p>Im new in matlab, Im trying to call a function inside a matlab GUI but I keep getting an error.  Can you please help.</p>
  
  <pre><code> function PushMe_Callback(hObject, eventdata, handles)
   set(handles.output_line,'String','I Got here');
  
   Get_Length(Note_Vector,output,Counter,Total_num)
   %------------------------------------------------------------
   function Get_Length(Note_Vector,output,Counter,Total_num)
   output = [ ];
   while (1)
   T = Total_num - Counter;
      for j=1:T
          [xml_input]=Get_Note(Note_Vector(j));
          output = [output xml_input];
      end
   end
  </code></pre>