MATLAB: Save last figure position

figureposition;save last

Hi,
Is there a way to save the position property of the last active figure?
Regards, Adi
Edit: OK, Thank you for answering so quickly.

Best Answer

What is "last"? The last one before closing the Matlab session? The position of a dialog before closing?
For the later you can define the CloseRequestFcn and DeletFcn such that "get(FigureHandle, 'Position')" is used to get the position and store it in the format you want.