Clear Filters
Clear Filters

Editing many GUI parameters in GUIDE

2 views (last 30 days)
John Petersen
John Petersen on 12 Dec 2012
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.

Answers (1)

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

Categories

Find more on Migrate GUIDE Apps in Help Center and File Exchange

Tags

Products

Community Treasure Hunt

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

Start Hunting!