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);

Answers (0)

Categories

Products

Release

R2017a

Asked:

on 1 Jul 2018

Edited:

on 1 Jul 2018

Community Treasure Hunt

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

Start Hunting!