I have a GUIDE GUI in MATLAB 7.7 (R2008b). I want to set the 'PaperSize' GUI property to be the dimensions specified in the Windows print dialog instead of having to hard coding a 'PaperSize'.
Hard coding a paper size causes the print out of the GUI figure to be cut-short if the 'PaperSize' property is larger than the actual paper. If the 'PaperSize' property is smaller than the actual paper, the print out will be too small on the page.
How can I get every GUI print out to be perfectly sized for every paper dimension?
Best Answer