MATLAB: Calling variables from call_back in GUIDE

callbackguiguide

I am working on GUI using guide. I have assigned user input to the edit text box. I have attached the picture of the GUI. I want my code to run as soon as done button is pushed and also the code uses those inputs. I tried it under Pushbutton_callback, but it shows error. Can any one suggest ways for doing this?
Related Question