Error in resizing GUIDE gui

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

 Risposta accettata

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 Commenti

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!

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su App Building in Centro assistenza e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by