Hello,
I am using GUIDE, and now am getting this error in modifying a GUIDE gui. The gui works, but not sure what's going on here!
matlab error 1.png
Thanks..
Doug Anderson

 Accepted Answer

Change line 2765 of guidefunc from
if ~strcmpi(get(children(i),'Units'), 'normalized')
to
if hasfield(children(i), 'Units') && ~strcmpi(get(children(i),'Units'), 'normalized')

3 Comments

Thank you Walter -- but I get an "access denied" message when trying to save the modified guidefunc!
Run As Administrator to do the edit.
OK, thank you, again!

Sign in to comment.

More Answers (0)

Categories

Find more on App Building in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!