i have the main gui window. can i open through a button an extra gui window to perform some tasks and then close it and continue working in the main window??

5 Kommentare

Oleg Komarov
Oleg Komarov am 15 Apr. 2012
Yes you can.
marina
marina am 15 Apr. 2012
can you tell my how?
Jan
Jan am 15 Apr. 2012
Yes, I'm sure that Oleg can tell you how.
Jan
Jan am 15 Apr. 2012
Now without humor: You can insert the command for opening the 2nd GUI in the callback of the button. While this is actually easy, not to say trivial, it is complicated to give an explicit example, because your question is vague. Therefore Oleg's "yes" is an almost optimal answer.
What have you tried so far and which problems appeared?
marina
marina am 16 Apr. 2012
How can i use a variable from one gui to the main gui?

Melden Sie sich an, um zu kommentieren.

 Akzeptierte Antwort

Geoff
Geoff am 15 Apr. 2012

0 Stimmen

1. Build your other GUI.
2. Create the button in your main GUI and put code inside its click callback that invokes your new GUI. This will just be the base name of the M-file that your GUI is stored in.

Weitere Antworten (1)

marina
marina am 16 Apr. 2012

0 Stimmen

How can i use a variable from one gui to the main gui?

1 Kommentar

Walter Roberson
Walter Roberson am 16 Apr. 2012
http://matlab.wikia.com/wiki/FAQ#How_can_I_share_data_between_callback_functions_in_my_GUI.3F

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Loops and Conditional Statements finden Sie in Hilfe-Center und File Exchange

Produkte

Tags

Gefragt:

am 15 Apr. 2012

Community Treasure Hunt

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

Start Hunting!

Translated by