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