Editing many GUI parameters in GUIDE

2 次查看(过去 30 天)
Is there a way to globally change a parameter in the .fig file while using GUIDE? I want to change all my fontunits to normalized so the text shrinks and expands with the window size. I have dozens of items in the figure so it is very tedious to do each one by double clicking, changing the value, then closing the property window.

回答(1 个)

Walter Roberson
Walter Roberson 2012-12-12
Experiment with this:
set( findall('-property', 'FontUnits'), 'FontUnits', 'normalized')

类别

Help CenterFile Exchange 中查找有关 Migrate GUIDE Apps 的更多信息

标签

产品

Community Treasure Hunt

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

Start Hunting!

Translated by