From: Georg on 1 Jul 2010 14:09 I want to execute some commands when the user is closing the gui, how can I do that? Actually I want to close an external application that I started in the gui.
From: Jan Simon on 1 Jul 2010 14:32 Dear Georg, > I want to execute some commands when the user is closing the gui, how can I do that? Actually I want to close an external application that I started in the gui. See the properties 'CloseRequestFcn' and 'DeleteFcn' of the figure. Jan
From: Georg on 1 Jul 2010 15:01 "Jan Simon" <matlab.THIS_YEAR(a)nMINUSsimon.de> wrote in message <i0imv4$lje$1(a)fred.mathworks.com>... > Dear Georg, > > > I want to execute some commands when the user is closing the gui, how can I do that? Actually I want to close an external application that I started in the gui. > > See the properties 'CloseRequestFcn' and 'DeleteFcn' of the figure. > > Jan Thanks! I wrote a new function that is executed instead of the closereq function, so now I can do whatever I want! Thanks for the tip. (CloseRequestFcn can be found under properties for the GUI)
|
Pages: 1 Prev: Stop a timer in GUI Next: knn classification satellite picture |