title: Using axes in Matlab GUI
body: <p>My interest is to display image in axes, I've 2 GUI's input_window and fig5.
  In my former GUI I've used one axes to display image using <code>uigetfile</code> ,</p>
  
  <pre><code>axes(handles.axes1);
  imshow(fname);
  </code></pre>
  
  <p>Now by pressing <code>pushbutton</code> in 1st GUI it switches to fig5 GUI, where I've used so many axes to display multiple images, also i want to display <code>fname</code> image in one axes and it should automatically  get displayed in fig5 GUI. For this I've used same above codes in <code>Fig5_OpeningFcn</code></p>
  
  <pre><code>axes(handles.axes1);
  imshow(fname);
  </code></pre>
  
  <p>I'm getting error like <code>Undefined function or variable 'fname'</code>.
  please help me how to pass variables between GUI's</p>