MATLAB: How write in edit text and send result to another edit text without pushbutton? PLEASE

pushbutton

I have a very simple gui program and I would like to add as a luxury that when in edittext enter the function in the other output edittext, automatically write the function already integrated. (my program integrates but, I want you to integrate without using a pushbutton) Can you?

Best Answer

You can set a Callback function on the uicontrol('style','edit'). It will be called when the user presses return in the edit box or clicks outside the box.