Borrar filtros
Borrar filtros

Error when I reset my interface ?

1 visualización (últimos 30 días)
Eliza
Eliza el 6 de Dic. de 2017
Comentada: Eliza el 7 de Dic. de 2017
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
Eliza
Eliza el 7 de Dic. de 2017
ans =
uint8
Eliza
Eliza el 7 de Dic. de 2017
I just have an idea to solve this problem by putting if condition to ensure this line of command will not be executed except if the default state of the button is off but there is an error also
if handles.msg.Enable=='off'

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Migrate GUIDE Apps en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by