Error when I reset my interface ?
Mostrar comentarios más antiguos
I have clear button that reset all interface component so I can start new operation without needing to close and open the interface here is the clear button code
set(handles.impsnr,'String','');
arrayfun(@cla,findall(0,'type','axes'))
the error is
Error in wmark_e>inp_Callback (line 137)
set(handles.msg,'Enable','on')
Because I make all Enabled button is OFF Except the first button then when the user click the first button the second button will be changed to on and so on whenever I click on clear button to start new operation the previous error appears could any one help ?
9 comentarios
Walter Roberson
el 6 de Dic. de 2017
Please show the complete error message, everything in red.
Eliza
el 6 de Dic. de 2017
Eliza
el 6 de Dic. de 2017
Walter Roberson
el 6 de Dic. de 2017
Whatever handles.msg is at that point is not the handle to a graphics object. At the command line command
dbstop if error
and run your code. When it stops, examine to see what handles.msg is.
Eliza
el 6 de Dic. de 2017
Eliza
el 6 de Dic. de 2017
Walter Roberson
el 6 de Dic. de 2017
Please show the output of
class(handles.msg)
Eliza
el 7 de Dic. de 2017
Eliza
el 7 de Dic. de 2017
Respuestas (0)
Categorías
Más información sobre Entering Commands en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!