How to show image on axes from external function in gui? where external function is called from pushbutton?

i am trying to call a maj function from pushbutton callback that show image on gui axes/?? Eror:'Undefined variable "handles" or class "handles.axes1"'
function pushbutton1_Callback(hObject, eventdata, handles)
maj
function maj()
disp('LLL');
image=imread('pvcs.jpg');
axes(handles.axes1);
imshow(image);

답변 (0개)

카테고리

도움말 센터 및 File Exchange에서 Creating, Deleting, and Querying Graphics Objects에 대해 자세히 알아보기

제품

릴리스

R2017a

질문:

2018년 7월 1일

편집:

2018년 7월 1일

Community Treasure Hunt

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

Start Hunting!

Translated by