Lets say someone made a Matlab GUI using GUIDE. Now I want to use that code in a programmatic environment - that is no human-in-the-loop. What\'s the easiest way for me to \
Extract form the following post. Use
guiname('pushbutton', object, eventdata, handles)
to call callbacks in 'guiname'.
Have you considered using a MVC pattern. Extracting the 'model' from your GUI might leave you with reusable code.