필터 지우기
필터 지우기

Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

what happened to the folowing code?

조회 수: 2 (최근 30일)
romasha
romasha 2014년 1월 26일
마감: Walter Roberson 2014년 1월 26일
Code % Choose default command line output for test2 handles.output = hObject; % create an axes that spans the whole gui ah = axes('unit', 'normalized', 'position', [0 0 1 1]); % import the background image and show it on the axes bg = imread('C:\Users\Romesha\Desktop\eye.jpg'); imagesc(bg); % prevent plotting over the background and turn the axis off set(ah,'handlevisibility','off','visible','off') set(bg,'alphadata',.1); % making sure the background is behind all the other uicontrols uistack(ah, 'bottom'); % Update handles structure guidata(hObject, handles); Error >> test2 Error using set Invalid handle
Error in test2>test2_OpeningFcn (line 63) set(bg,'alphadata',.1);
Error in gui_mainfcn (line 221) feval(gui_State.gui_OpeningFcn, gui_hFigure, [], guidata(gui_hFigure), varargin{:});
Error in test2 (line 42) gui_mainfcn(gui_State, varargin{:});

답변 (0개)

이 질문은 마감되었습니다.

제품

Community Treasure Hunt

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

Start Hunting!

Translated by