title: setting GUI's workspace as the currend workspace
body: <p>I am writing a GUI program with matlab and I would like to test my variables to see if they are properly imported and to test how to access to different parts of the variables imported so I want my variables to be shown in workspace window of Matlab desktop
  the main trouble is if I write a common program in the mfile editor after running the program variables will be shown in workspace windows but about GUI programs its not true
  And if I Save the workspace of my program from the path
  File>Save Workspace As...
  in MFile Editor and then I try to open this access file in desktop i encounter
  <strong><em>No variables created</em></strong>
  How can I accesss the workspace of my GUI?</p>