Hi, I'm trying to protect the close request function of my GUI with a yes/no question etc.
I've found some common way to do this in the matlab help :
set(0,'DefaultFigureCloseRequestFcn',@my_closereq).
This works but also changes the close function of the external figures and I don't want to.
I tried: set(hObject,'DefaultFigureCloseRequestFcn',@my_closereq)
But this gives the same problem.
Any Idea ?
Best Answer