MATLAB: How to open a gui fig file from another gui

figguiopenfig

I used the following code for openning the fig file from another fig file.
fig = openfig(filename,'reuse');
But it gives error message. What should I do?

Best Answer

If what you want to do is open another GUI, call its associated *.m, not the *.fig.