HOW TO SOLVE THIS PROBLEM

7 views (last 30 days)
Younis Firwana
Younis Firwana on 18 Dec 2018
Answered: Jing Ci Neo on 25 Jan 2021
ASL_GUI
Error using figure
PaperSize cannot be set in normalized PaperUnits.
To set PaperSize:
Set PaperType to a different value, or
Change PaperUnits to inches, centimeters, or points, and then set PaperSize.
Error in ASL_GUI
Error in ASL_GUI
Error in ASL_GUI
  3 Comments
Rik
Rik on 19 Dec 2018
The PaperUnits property of your figure is set to Normalized, which means that you can't set an explicit value for the PaperSize property, because it is by definition 1.

Sign in to comment.

Answers (1)

Jing Ci Neo
Jing Ci Neo on 25 Jan 2021
You can try
set(gcf, 'PaperUnits', 'Inches')

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!