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 ExchangeStartup and Shutdown についてさらに検索

製品

リリース

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