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

1 次查看(过去 30 天)
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 个)

类别

Help CenterFile Exchange 中查找有关 Migrate GUIDE Apps 的更多信息

产品


版本

R2017a

Community Treasure Hunt

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

Start Hunting!

Translated by