Borrar filtros
Borrar filtros

problem with variable handles

1 visualización (últimos 30 días)
Nuno Fernandes
Nuno Fernandes el 16 de Jun. de 2011
contents = cellstr(get(hObject,'String')) handles.montage=contents{get(hObject,'Value')}
I want to use handles.montage in other part of my program:
a= handles.montage
and it´s always appearing this : ??? Reference to non-existent field 'montage'.
any suggestions to solve this problem? I am doing the something that i used to do with all kind oh this variables.
thanks for help
Nuno Fernandes

Respuesta aceptada

Walter Roberson
Walter Roberson el 16 de Jun. de 2011
After you set handles.montage, you will need to
guidata(hObject, handles)
  1 comentario
Nuno Fernandes
Nuno Fernandes el 16 de Jun. de 2011
thanks! it was that simple thing :)

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Structures en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by