Matlab GUI 句柄的问题
function pushbutton1_Callback(hObject, eventdata, handles)% hObject handle to pushbutton1 (see GCBO)% eventdatareserved - to be defined in a future version of MATLAB% handles structure with handles and user data (see GUIDATA)dd1('2');hf=figure('Name','addds');s=str2double(get(handles.edit1,'String'));global d;ha=uitable(hf,'NumColumns',2,'NumRows',s);hunn=uicontrol(hf,'Style','pushbutton','String','31231','Callback','d=get(ha,''Data'')');disp(d);Undefined function or variable 'ha'.Error while evaluating uicontrol Callbackhunn无法识别ha?怎么样该才好?
页:
[1]