Collect output of gui as a regular function
6 views (last 30 days)
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.