How to open a gui fig file from another gui?

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?

 Akzeptierte Antwort

David Sanchez
David Sanchez am 9 Okt. 2014

1 Stimme

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

Weitere Antworten (1)

Julia
Julia am 9 Okt. 2014

4 Stimmen

Hi,
I use GUI1 to call GUI2 like this:
In GUI1:
run GUI2;
To close it again from GUI1:
close GUI2;

Kategorien

Mehr zu Printing and Saving finden Sie in Hilfe-Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by