TUNEMML M-file for tunemml.fig TUNEMML, by itself, creates a new TUNEMML or raises the existing singleton*. H = TUNEMML returns the handle to a new TUNEMML or the handle to the existing singleton*. TUNEMML('CALLBACK',hObject,eventData,handles,...) calls the local function named CALLBACK in TUNEMML.M with the given input arguments. TUNEMML('Property','Value',...) creates a new TUNEMML or raises the existing singleton*. Starting from the left, property value pairs are applied to the GUI before tunemml_OpeningFunction gets called. An unrecognized property name or invalid value makes property application stop. All inputs are passed to tunemml_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
0001 function varargout = tunemml(varargin) 0002 % TUNEMML M-file for tunemml.fig 0003 % TUNEMML, by itself, creates a new TUNEMML or raises the existing 0004 % singleton*. 0005 % 0006 % H = TUNEMML returns the handle to a new TUNEMML or the handle to 0007 % the existing singleton*. 0008 % 0009 % TUNEMML('CALLBACK',hObject,eventData,handles,...) calls the local 0010 % function named CALLBACK in TUNEMML.M with the given input arguments. 0011 % 0012 % TUNEMML('Property','Value',...) creates a new TUNEMML or raises the 0013 % existing singleton*. Starting from the left, property value pairs are 0014 % applied to the GUI before tunemml_OpeningFunction gets called. An 0015 % unrecognized property name or invalid value makes property application 0016 % stop. All inputs are passed to tunemml_OpeningFcn via varargin. 0017 % 0018 % *See GUI Options on GUIDE's Tools menu. Choose "GUI allows only one 0019 % instance to run (singleton)". 0020 % 0021 % See also: GUIDE, GUIDATA, GUIHANDLES 0022 0023 % Copyright 2002-2003 The MathWorks, Inc. 0024 0025 % Edit the above text to modify the response to help tunemml 0026 0027 % Last Modified by GUIDE v2.5 25-Mar-2002 12:19:15 0028 0029 % Begin initialization code - DO NOT EDIT 0030 gui_Singleton = 1; 0031 gui_State = struct('gui_Name', mfilename, ... 0032 'gui_Singleton', gui_Singleton, ... 0033 'gui_OpeningFcn', @tunemml_OpeningFcn, ... 0034 'gui_OutputFcn', @tunemml_OutputFcn, ... 0035 'gui_LayoutFcn', [] , ... 0036 'gui_Callback', []); 0037 if nargin && ischar(varargin{1}) 0038 gui_State.gui_Callback = str2func(varargin{1}); 0039 end 0040 0041 if nargout 0042 [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:}); 0043 else 0044 gui_mainfcn(gui_State, varargin{:}); 0045 end 0046 % End initialization code - DO NOT EDIT 0047 0048 0049 % --- Executes just before tunemml is made visible. 0050 function tunemml_OpeningFcn(hObject, eventdata, handles, varargin) 0051 % This function has no output args, see OutputFcn. 0052 % hObject handle to figure 0053 % eventdata reserved - to be defined in a future version of MATLAB 0054 % handles structure with handles and user data (see GUIDATA) 0055 % varargin command line arguments to tunemml (see VARARGIN) 0056 0057 % Choose default command line output for tunemml 0058 handles.output = hObject; 0059 0060 % Update handles structure 0061 guidata(hObject, handles); 0062 0063 % UIWAIT makes tunemml wait for user response (see UIRESUME) 0064 % uiwait(handles.figure1); 0065 addmenuad(handles.figure1); 0066 addmenuao(handles.figure1); 0067 0068 % --- Outputs from this function are returned to the command line. 0069 function varargout = tunemml_OutputFcn(hObject, eventdata, handles) 0070 % varargout cell array for returning output args (see VARARGOUT); 0071 % hObject handle to figure 0072 % eventdata reserved - to be defined in a future version of MATLAB 0073 % handles structure with handles and user data (see GUIDATA) 0074 0075 % Get default command line output from handles structure 0076 varargout{1} = handles.output;