필터 지우기
필터 지우기

Display image in axis

조회 수: 1 (최근 30일)
asma khaled
asma khaled 2019년 2월 16일
댓글: Rik 2019년 2월 16일
I have a problem when I execute a figure that has an axis to display the image it works but when displayed this figure by push button from another figure, this figure does not display the image in the axis and show this errors
Error in
matlab.graphics.internal.figfile.FigFile/read>@(hObject,eventdata)Testing__phase('Selectimg_button_Callback',hObject,eventdata,guidata(hObject))
Error while evaluating UIControl Callback
Struct contents reference from a non-struct array object.
Error in Testing__phase>Selectimg_button_Callback (line 108)
axes (handles.axes_img);
Error in gui_mainfcn (line 95)
feval(varargin{:});
Error in Testing__phase (line 42)
gui_mainfcn(gui_State, varargin{:});
  댓글 수: 1
Rik
Rik 2019년 2월 16일
Please attach you GUI code as a file to your question. It looks like your guidata struct has been modified or has not properly been initialized.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Graphics Object Properties에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by