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

 Réponse acceptée

Walter Roberson
Walter Roberson le 19 Jan 2020

0 votes

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 commentaires

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

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur App Building dans Centre d'aide et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by