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

Oleg Komarov
Oleg Komarov 2012년 4월 15일
Yes you can.
marina
marina 2012년 4월 15일
can you tell my how?
Jan
Jan 2012년 4월 15일
Yes, I'm sure that Oleg can tell you how.
Jan
Jan 2012년 4월 15일
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 2012년 4월 16일
How can i use a variable from one gui to the main gui?

댓글을 달려면 로그인하십시오.

 채택된 답변

Geoff
Geoff 2012년 4월 15일

0 개 추천

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.

추가 답변 (1개)

marina
marina 2012년 4월 16일

0 개 추천

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

댓글 수: 1

Walter Roberson
Walter Roberson 2012년 4월 16일
http://matlab.wikia.com/wiki/FAQ#How_can_I_share_data_between_callback_functions_in_my_GUI.3F

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 Loops and Conditional Statements에 대해 자세히 알아보기

제품

태그

질문:

2012년 4월 15일

Community Treasure Hunt

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

Start Hunting!

Translated by