フィルターのクリア

problem with variable handles

1 回表示 (過去 30 日間)
Nuno Fernandes
Nuno Fernandes 2011 年 6 月 16 日
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

採用された回答

Walter Roberson
Walter Roberson 2011 年 6 月 16 日
After you set handles.montage, you will need to
guidata(hObject, handles)
  1 件のコメント
Nuno Fernandes
Nuno Fernandes 2011 年 6 月 16 日
thanks! it was that simple thing :)

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeStructures についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by