Display image in axis
조회 수: 1 (최근 30일)
이전 댓글 표시
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
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 Center 및 File Exchange에서 Graphics Object Properties에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!