为查看方法,在click事件中加上keyboard方法
% --------------------------------------------------------------------
function activex2_Click(hObject, eventdata, handles)
% hObject handle to activex2 (see GCBO)
% eventdata structure with parameters passed to COM event listener
% handles structure with handles and user data (see GUIDATA)
keyboard
然后在命令行输入
K>> methodsview(hObject)
K>>