From: Andreas Kasprzok on
Hey guys,

please excuse the question, I've searched a lot and not come up with an answer.

I am trying to put an image into a gui I'm creating, so I created axes, and then put this into the opening function:

axes(handles.axes1)
imagesc(imread('image.jpg'))

When I run the program, it displays the image correctly, yet I keep getting this error:


??? Reference to non-existent field 'output'.

Error in ==> maingui>heyhye_OutputFcn at 86
varargout{1} = handles.output;

Error in ==> gui_mainfcn at 265
feval(gui_State.gui_OutputFcn, gui_hFigure, [], gui_Handles);

Error in ==> maingui at 43
gui_mainfcn(gui_State, varargin{:});


When I delete the two lines of code, everything's back to normal again.
What am I doing wrong?


Thank you!
Eleanor296