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

Antworten (0)

Kategorien

Mehr zu Startup and Shutdown finden Sie in Hilfe-Center und File Exchange

Produkte

Version

R2017a

Gefragt:

am 1 Jul. 2018

Bearbeitet:

am 1 Jul. 2018

Community Treasure Hunt

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

Start Hunting!

Translated by