I found this: http://blogs.mathworks.com/videos/2010/02/12/advanced-getting-an-output-from-a-guide-gui/
Looks like a good solution wven though I don't undestand what he does with the close request function since that way you have to clic twice to get your window to close...
If anyone has a better idea, please share.
Thanks!