MATLAB Answers

Error in resizing GUIDE gui

7 views (last 30 days)
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

  0 Comments

Sign in to comment.

Accepted Answer

Walter Roberson
Walter Roberson on 19 Jan 2020
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

Douglas Anderson
Douglas Anderson on 19 Jan 2020
Thank you Walter -- but I get an "access denied" message when trying to save the modified guidefunc!
Walter Roberson
Walter Roberson on 19 Jan 2020
Run As Administrator to do the edit.
Douglas Anderson
Douglas Anderson on 20 Jan 2020
OK, thank you, again!

Sign in to comment.

More Answers (0)

Sign in to answer this question.


Translated by