界面m文件代码:
function varargout = gui1(varargin)
% gui1 MATLAB code for gui1.fig
% gui1, by itself, creates a new gui1 or raises the existing
% singleton*.
%
% H = gui1 returns the handle to a new gui1 or the handle to
% the existing singleton*.
%
% gui1('CALLBACK',hObject,eventData,handles,...) calls the local
% function named CALLBACK in gui1.M with the given input arguments.
%
% gui1('Property','Value',...) creates a new gui1 or raises the
% existing singleton*. Starting from the left, property value pairs are
% applied to the GUI before gui1_OpeningFcn gets called. An
% unrecognized property name or invalid value makes property application
% stop. All inputs are passed to gui1_OpeningFcn via varargin.
%
% *See GUI Options on GUIDE's Tools menu. Choose "GUI allows only one
% instance to run (singleton)".
%
% See also: GUIDE, GUIDATA, GUIHANDLES
% Edit the above text to modify the response to help gui1
% Last Modified by GUIDE v2.5 12-Nov-2020 00:34:27
% Begin initialization code - DO NOT EDIT
gui_Singleton = 1;
gui_State = struct('gui_Name', mfilename, ...
'gui_Singleton', gui_Singleton, ...