%I have an empty "axes1" in GUI. I also have an picture in C directory. I want that while fig file opens, this picture can be automatically embed into this axes1. I wrote this code but it fails.
%filename=logo.png
imshow(logo, 'Parent', handles.axes1)
% I wrote this code at the end of my function (% --- Executes just before my_guide_name is made visible.
function my_guide_name_OpeningFcn(hObject, eventdata, handles, varargin)
Best Answer