Theaxesdocumentation explains that the output is a handle to the axes object:http://www.mathworks.com/help/matlab/ref/axes.htmlYou can read more about graphics handles here:http://www.mathworks.com/help/matlab/
function UIFigureCloseRequest(app, event) if app.closeEnabled delete(app) end 3. Toggle the value of the closeEnabled property as needed in your code. Imagine you have a "Process" button that initiates a process where it is crucial for the app to remain open. Set the closeEnabled flag ...