MATLAB: GUI with existing function

graphical user interfacegui

How do you put an existing Matlab function- or more than one function- into a GUI? When I look up tutorials for how to make GUIs, all I see is how to make one from scratch. How can I make a GUI from existing functions and/or data? I have MATLAB_R2015a.

Best Answer

Create the GUI from scratch. Edit the code for the appropriate callback functions so that they have calls to your existing routines.
Related Question