Collect output of gui as a regular function

1 回表示 (過去 30 日間)
Lorenzo
Lorenzo 2014 年 1 月 30 日
コメント済み: Lorenzo 2014 年 1 月 30 日
Dear all, I recently asked a question on how to share handles between two different GUIs. This is a slightly different question.
Is there any way to collect the output of a gui once the gui is closed a regular function? Something such as:
function b=myNONguiFunction %this is my main function
a=myGui; %here's my GUI is started, once it is closed it should return a as a result
b=a+1 %here's my main function's task
I was wondering if there's any way to achieve this in a simple way without the need of sharing handles.
Thanks!
Lorenzo
  1 件のコメント
Lorenzo
Lorenzo 2014 年 1 月 30 日
Looks like a good solution wven though I don't undestand what he does with the close request function since that way you have to clic twice to get your window to close...
If anyone has a better idea, please share.
Thanks!

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeMATLAB についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by