Azzera filtri
Azzera filtri

problem with variable handles

1 visualizzazione (ultimi 30 giorni)
Nuno Fernandes
Nuno Fernandes il 16 Giu 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

Risposta accettata

Walter Roberson
Walter Roberson il 16 Giu 2011
After you set handles.montage, you will need to
guidata(hObject, handles)

Più risposte (0)

Categorie

Scopri di più su Structures in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by