Effacer les filtres
Effacer les filtres

Display image in axis

1 vue (au cours des 30 derniers jours)
asma khaled
asma khaled le 16 Fév 2019
Commenté : Rik le 16 Fév 2019
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 commentaire
Rik
Rik le 16 Fév 2019
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.

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Graphics Object Properties dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by