필터 지우기
필터 지우기

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 CenterFile Exchange에서 Structures에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by