Matlab GUI 界面编程:界面名称修改

Matlab GUI 界面编程:界面名称修改

20191206
在界面的m文件中,找到界面的OpeningFcn函数

function day1_OpeningFcn(hObject, eventdata, handles, varargin)
% This function has no output args, see OutputFcn.
% hObject    handle to figure
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)
% varargin   command line arguments to day1 (see VARARGIN)
set(gcf,'name','GUI示例'); %第三个参数为要修改的界面名称
% Choose default command line output for day1
handles.output = hObject;
% Update handles structure
guidata(hObject, handles);

你可能感兴趣的:(matlab,GUI)