MATLAB GUIDE is a utility for GUI programming in MATLAB.
If designing a figure named myfigure
it creates two files myfigure.fig
, which contains the GUI layout description, and myfigure.m
which contains the callbacks describing the logic behind the GUI (e.g. when you click a button, a certain function is being called, and the .m file is intended to contain codes of such callback functions).
How can I change the name of myfigure.m
to myfigure_callbacks.m
and still have the functions in myfigure_callbacks.m
bound with the GUI described at myfigure.fig
?
So I want to have files named
myfigure.fig
and myfigure_callbacks.m
instead of
myfigure.fig
and myfigure.m