如何用matlab制作gui界面

2025-05-13 05:15:44
推荐回答(1个)
回答(1):

function varargout = untitled2_OutputFcn(hObject, eventdata, handles)
% varargout cell array for returning output args (see VARARGOUT);
% hObject handle to figure
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)

% Get default command line output from handles structure
varargout{1} = handles.output;

untitled;
close(findobj('Tag','figure1'));
登陆界面的