HOW TO SOLVE THIS PROBLEM

3 次查看(过去 30 天)
Younis Firwana
Younis Firwana 2018-12-18
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 个评论
Younis Firwana
Younis Firwana 2018-12-19
explain the problem to me, please. then tell me how to solve it
Rik
Rik 2018-12-19
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.

请先登录,再进行评论。

回答(1 个)

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

类别

Help CenterFile Exchange 中查找有关 Logical 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by