How to open a gui fig file from another gui?

5 views (last 30 days)
Sanjoy Payun
Sanjoy Payun on 9 Oct 2014
Answered: Julia on 9 Oct 2014
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 on 9 Oct 2014
I use GUI1 to call GUI2 like this:
In GUI1:
run GUI2;
To close it again from GUI1:
close GUI2;

Community Treasure Hunt

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

Start Hunting!