error facing setting property of static text
Mostra commenti meno recenti
??? Undefined variable "handles" or class "handles.edit4".
Error in ==> GUI>feature_ext at 693 set(handles.edit4,'visible','off')
Error in ==> GUI>pushbutton10_Callback at 654 res = feature_ext(str_1,str_2,im9);
Error in ==> gui_mainfcn at 96 feval(varargin{:});
Error in ==> GUI at 42 gui_mainfcn(gui_State, varargin{:});
??? Error while evaluating uicontrol Callback
Risposta accettata
Più risposte (9)
irum
il 11 Ago 2011
0 voti
Friedrich
il 11 Ago 2011
Hi,
do a
dbstop if error
in the MATLAB command line. Than run your program, push the button which raises the error and you will get into the debug mode. Look at the handles variable. Sounds like hte field handles.edit4 doesn't exist.
irum
il 11 Ago 2011
irum
il 11 Ago 2011
0 voti
irum
il 12 Ago 2011
0 voti
irum
il 12 Ago 2011
0 voti
irum
il 12 Ago 2011
0 voti
Walter Roberson
il 15 Ago 2011
if num_female > num_male
set(handles.text27,'String','female')
elseif num_female < num_male
set(handles.text27,'String','male')
else
set(handles.text27,'String','equal'
end
irum
il 16 Ago 2011
0 voti
Categorie
Scopri di più su Entering Commands 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!