Editing many GUI parameters in GUIDE

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 个)

Experiment with this:
set( findall('-property', 'FontUnits'), 'FontUnits', 'normalized')

类别

帮助中心File Exchange 中查找有关 Mathematics 的更多信息

产品

标签

Community Treasure Hunt

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

Start Hunting!

Translated by