How to open a gui fig file from another gui?

1 view (last 30 days)
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?

Accepted Answer

David Sanchez
David Sanchez on 9 Oct 2014
If what you want to do is open another GUI, call its associated *.m, not the *.fig.

More Answers (1)

Julia
Julia on 9 Oct 2014
Hi,
I use GUI1 to call GUI2 like this:
In GUI1:
run GUI2;
To close it again from GUI1:
close GUI2;

Categories

Find more on File Operations in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!