How to open a gui fig file from another gui?

5 Ansichten (letzte 30 Tage)
Sanjoy Payun
Sanjoy Payun am 9 Okt. 2014
Beantwortet: Julia am 9 Okt. 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?

Akzeptierte Antwort

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

Weitere Antworten (1)

Julia am 9 Okt. 2014
I use GUI1 to call GUI2 like this:
In GUI1:
run GUI2;
To close it again from GUI1:
close GUI2;


Find more on Printing and Saving 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!

Translated by