www.gusucode.com > 声音的处理有:LPC,FFT,共振峰,频谱源码程序 > siganlandsystemusingMatlab/SSUM/wavexpo/wavexpogui.m
function varargout = wavexpogui(varargin) % WAVEXPOGUI M-file for wavexpogui.fig % WAVEXPOGUI, by itself, creates a new WAVEXPOGUI or raises the existing % singleton*. % % H = WAVEXPOGUI returns the handle to a new WAVEXPOGUI or the handle to % the existing singleton*. % % WAVEXPOGUI('CALLBACK',hObject,eventData,handles,...) calls the local % function named CALLBACK in WAVEXPOGUI.M with the given input arguments. % % WAVEXPOGUI('Property','Value',...) creates a new WAVEXPOGUI or raises the % existing singleton*. Starting from the left, property value pairs are % applied to the GUI before wavexpogui_OpeningFunction gets called. An % unrecognized property name or invalid value makes property application % stop. All inputs are passed to wavexpogui_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 wavexpogui % Last Modified by GUIDE v2.5 17-Mar-2004 22:23:59 % Begin initialization code - DO NOT EDIT gui_Singleton = 1; gui_State = struct('gui_Name', mfilename, ... 'gui_Singleton', gui_Singleton, ... 'gui_OpeningFcn', @wavexpogui_OpeningFcn, ... 'gui_OutputFcn', @wavexpogui_OutputFcn, ... 'gui_LayoutFcn', @wavexpogui_LayoutFcn, ... 'gui_Callback', []); if nargin & isstr(varargin{1}) gui_State.gui_Callback = str2func(varargin{1}); end if nargout [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:}); else gui_mainfcn(gui_State, varargin{:}); end % End initialization code - DO NOT EDIT % --- Executes just before wavexpogui is made visible. function wavexpogui_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 wavexpogui (see VARARGIN) % Choose default command line output for wavexpogui handles.output = hObject; guidata(hObject, handles); set(gcf,'UserData',handles); wavexpofn; % --- Outputs from this function are returned to the command line. function varargout = wavexpogui_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; function waveform_Callback(hObject, eventdata, handles) wavexpofn 'waveform' function spectrum_Callback(hObject, eventdata, handles) wavexpofn 'spectrum' function play_Callback(hObject, eventdata, handles) wavexpofn 'play' function write_Callback(hObject, eventdata, handles) wavexpofn 'write_soundfile' function refresh_Callback(hObject, eventdata, handles) wavexpofn 'update' % --- Executes during object creation, after setting all properties. function waveform_CreateFcn(hObject, eventdata, handles) if ispc set(hObject,'BackgroundColor','white'); else set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor')); end % --- Executes during object creation, after setting all properties. function f0_CreateFcn(hObject, eventdata, handles) usewhitebg = 1; if usewhitebg set(hObject,'BackgroundColor',[.9 .9 .9]); else set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor')); end % --- Executes on slider movement. function f0_Callback(hObject, eventdata, handles) handles = get(gcf,'UserData'); handles.textnum = 0; set(gcf,'UserData',handles); wavexpofn 'fslider' % --- Executes during object creation, after setting all properties. function f0t_CreateFcn(hObject, eventdata, handles) if ispc set(hObject,'BackgroundColor','white'); else set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor')); end function f0t_Callback(hObject, eventdata, handles) handles = get(gcf,'UserData'); handles.textnum = 0; set(gcf,'UserData',handles); wavexpofn 'ftext' % --- Executes during object creation, after setting all properties. function f1_CreateFcn(hObject, eventdata, handles) usewhitebg = 1; if usewhitebg set(hObject,'BackgroundColor',[.9 .9 .9]); else set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor')); end % --- Executes on slider movement. function f1_Callback(hObject, eventdata, handles) handles = get(gcf,'UserData'); handles.textnum = 1; set(gcf,'UserData',handles); wavexpofn 'fslider' % --- Executes during object creation, after setting all properties. function f1t_CreateFcn(hObject, eventdata, handles) if ispc set(hObject,'BackgroundColor','white'); else set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor')); end function f1t_Callback(hObject, eventdata, handles) handles = get(gcf,'UserData'); handles.textnum = 1; set(gcf,'UserData',handles); wavexpofn 'ftext' % --- Executes during object creation, after setting all properties. function f2_CreateFcn(hObject, eventdata, handles) usewhitebg = 1; if usewhitebg set(hObject,'BackgroundColor',[.9 .9 .9]); else set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor')); end % --- Executes on slider movement. function f2_Callback(hObject, eventdata, handles) handles = get(gcf,'UserData'); handles.textnum = 2; set(gcf,'UserData',handles); wavexpofn 'fslider' % --- Executes during object creation, after setting all properties. function f2t_CreateFcn(hObject, eventdata, handles) if ispc set(hObject,'BackgroundColor','white'); else set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor')); end function f2t_Callback(hObject, eventdata, handles) handles = get(gcf,'UserData'); handles.textnum = 2; set(gcf,'UserData',handles); wavexpofn 'ftext' % --- Executes during object creation, after setting all properties. function f3_CreateFcn(hObject, eventdata, handles) usewhitebg = 1; if usewhitebg set(hObject,'BackgroundColor',[.9 .9 .9]); else set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor')); end % --- Executes on slider movement. function f3_Callback(hObject, eventdata, handles) handles = get(gcf,'UserData'); handles.textnum = 3; set(gcf,'UserData',handles); wavexpofn 'fslider' % --- Executes during object creation, after setting all properties. function f3t_CreateFcn(hObject, eventdata, handles) if ispc set(hObject,'BackgroundColor','white'); else set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor')); end function f3t_Callback(hObject, eventdata, handles) handles = get(gcf,'UserData'); handles.textnum = 3; set(gcf,'UserData',handles); wavexpofn 'ftext' % --- Executes during object creation, after setting all properties. function f4_CreateFcn(hObject, eventdata, handles) usewhitebg = 1; if usewhitebg set(hObject,'BackgroundColor',[.9 .9 .9]); else set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor')); end % --- Executes on slider movement. function f4_Callback(hObject, eventdata, handles) handles = get(gcf,'UserData'); handles.textnum = 4; set(gcf,'UserData',handles); wavexpofn 'fslider' % --- Executes during object creation, after setting all properties. function f4t_CreateFcn(hObject, eventdata, handles) if ispc set(hObject,'BackgroundColor','white'); else set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor')); end function f4t_Callback(hObject, eventdata, handles) handles = get(gcf,'UserData'); handles.textnum = 4; set(gcf,'UserData',handles); wavexpofn 'ftext' % --- Executes during object creation, after setting all properties. function f5_CreateFcn(hObject, eventdata, handles) usewhitebg = 1; if usewhitebg set(hObject,'BackgroundColor',[.9 .9 .9]); else set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor')); end % --- Executes on slider movement. function f5_Callback(hObject, eventdata, handles) handles = get(gcf,'UserData'); handles.textnum = 5; set(gcf,'UserData',handles); wavexpofn 'fslider' % --- Executes during object creation, after setting all properties. function f5t_CreateFcn(hObject, eventdata, handles) if ispc set(hObject,'BackgroundColor','white'); else set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor')); end function f5t_Callback(hObject, eventdata, handles) handles = get(gcf,'UserData'); handles.textnum = 5; set(gcf,'UserData',handles); wavexpofn 'ftext' % --- Executes during object creation, after setting all properties. function f6_CreateFcn(hObject, eventdata, handles) usewhitebg = 1; if usewhitebg set(hObject,'BackgroundColor',[.9 .9 .9]); else set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor')); end % --- Executes on slider movement. function f6_Callback(hObject, eventdata, handles) handles = get(gcf,'UserData'); handles.textnum = 6; set(gcf,'UserData',handles); wavexpofn 'fslider' % --- Executes during object creation, after setting all properties. function f6t_CreateFcn(hObject, eventdata, handles) if ispc set(hObject,'BackgroundColor','white'); else set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor')); end function f6t_Callback(hObject, eventdata, handles) handles = get(gcf,'UserData'); handles.textnum = 6; set(gcf,'UserData',handles); wavexpofn 'ftext' % --- Executes during object creation, after setting all properties. function f7_CreateFcn(hObject, eventdata, handles) usewhitebg = 1; if usewhitebg set(hObject,'BackgroundColor',[.9 .9 .9]); else set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor')); end % --- Executes on slider movement. function f7_Callback(hObject, eventdata, handles) handles = get(gcf,'UserData'); handles.textnum = 7; set(gcf,'UserData',handles); wavexpofn 'fslider' % --- Executes during object creation, after setting all properties. function f7t_CreateFcn(hObject, eventdata, handles) if ispc set(hObject,'BackgroundColor','white'); else set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor')); end function f7t_Callback(hObject, eventdata, handles) handles = get(gcf,'UserData'); handles.textnum = 7; set(gcf,'UserData',handles); wavexpofn 'ftext' % --- Executes during object creation, after setting all properties. function a0_CreateFcn(hObject, eventdata, handles) usewhitebg = 1; if usewhitebg set(hObject,'BackgroundColor',[.9 .9 .9]); else set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor')); end % --- Executes on slider movement. function a0_Callback(hObject, eventdata, handles) handles = get(gcf,'UserData'); handles.textnum = 0; set(gcf,'UserData',handles); wavexpofn 'aslider' % --- Executes during object creation, after setting all properties. function a0t_CreateFcn(hObject, eventdata, handles) if ispc set(hObject,'BackgroundColor','white'); else set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor')); end function a0t_Callback(hObject, eventdata, handles) handles = get(gcf,'UserData'); handles.textnum = 0; set(gcf,'UserData',handles); wavexpofn 'atext' % --- Executes during object creation, after setting all properties. function a1_CreateFcn(hObject, eventdata, handles) usewhitebg = 1; if usewhitebg set(hObject,'BackgroundColor',[.9 .9 .9]); else set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor')); end % --- Executes on slider movement. function a1_Callback(hObject, eventdata, handles) handles = get(gcf,'UserData'); handles.textnum = 1; set(gcf,'UserData',handles); wavexpofn 'aslider' % --- Executes during object creation, after setting all properties. function a1t_CreateFcn(hObject, eventdata, handles) if ispc set(hObject,'BackgroundColor','white'); else set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor')); end function a1t_Callback(hObject, eventdata, handles) handles = get(gcf,'UserData'); handles.textnum = 1; set(gcf,'UserData',handles); wavexpofn 'atext' % --- Executes during object creation, after setting all properties. function a2_CreateFcn(hObject, eventdata, handles) usewhitebg = 1; if usewhitebg set(hObject,'BackgroundColor',[.9 .9 .9]); else set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor')); end % --- Executes on slider movement. function a2_Callback(hObject, eventdata, handles) handles = get(gcf,'UserData'); handles.textnum = 2; set(gcf,'UserData',handles); wavexpofn 'aslider' % --- Executes during object creation, after setting all properties. function a2t_CreateFcn(hObject, eventdata, handles) if ispc set(hObject,'BackgroundColor','white'); else set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor')); end function a2t_Callback(hObject, eventdata, handles) handles = get(gcf,'UserData'); handles.textnum = 2; set(gcf,'UserData',handles); wavexpofn 'atext' % --- Executes during object creation, after setting all properties. function a3_CreateFcn(hObject, eventdata, handles) usewhitebg = 1; if usewhitebg set(hObject,'BackgroundColor',[.9 .9 .9]); else set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor')); end % --- Executes on slider movement. function a3_Callback(hObject, eventdata, handles) handles = get(gcf,'UserData'); handles.textnum = 3; set(gcf,'UserData',handles); wavexpofn 'aslider' % --- Executes during object creation, after setting all properties. function a3t_CreateFcn(hObject, eventdata, handles) if ispc set(hObject,'BackgroundColor','white'); else set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor')); end function a3t_Callback(hObject, eventdata, handles) handles = get(gcf,'UserData'); handles.textnum = 3; set(gcf,'UserData',handles); wavexpofn 'atext' % --- Executes during object creation, after setting all properties. function a4_CreateFcn(hObject, eventdata, handles) usewhitebg = 1; if usewhitebg set(hObject,'BackgroundColor',[.9 .9 .9]); else set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor')); end % --- Executes on slider movement. function a4_Callback(hObject, eventdata, handles) handles = get(gcf,'UserData'); handles.textnum = 4; set(gcf,'UserData',handles); wavexpofn 'aslider' % --- Executes during object creation, after setting all properties. function a4t_CreateFcn(hObject, eventdata, handles) if ispc set(hObject,'BackgroundColor','white'); else set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor')); end function a4t_Callback(hObject, eventdata, handles) handles = get(gcf,'UserData'); handles.textnum = 4; set(gcf,'UserData',handles); wavexpofn 'atext' % --- Executes during object creation, after setting all properties. function a5_CreateFcn(hObject, eventdata, handles) usewhitebg = 1; if usewhitebg set(hObject,'BackgroundColor',[.9 .9 .9]); else set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor')); end % --- Executes on slider movement. function a5_Callback(hObject, eventdata, handles) handles = get(gcf,'UserData'); handles.textnum = 5; set(gcf,'UserData',handles); wavexpofn 'aslider' % --- Executes during object creation, after setting all properties. function a5t_CreateFcn(hObject, eventdata, handles) if ispc set(hObject,'BackgroundColor','white'); else set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor')); end function a5t_Callback(hObject, eventdata, handles) handles = get(gcf,'UserData'); handles.textnum = 5; set(gcf,'UserData',handles); wavexpofn 'atext' % --- Executes during object creation, after setting all properties. function a6_CreateFcn(hObject, eventdata, handles) usewhitebg = 1; if usewhitebg set(hObject,'BackgroundColor',[.9 .9 .9]); else set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor')); end % --- Executes on slider movement. function a6_Callback(hObject, eventdata, handles) handles = get(gcf,'UserData'); handles.textnum = 6; set(gcf,'UserData',handles); wavexpofn 'aslider' % --- Executes during object creation, after setting all properties. function a6t_CreateFcn(hObject, eventdata, handles) if ispc set(hObject,'BackgroundColor','white'); else set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor')); end function a6t_Callback(hObject, eventdata, handles) handles = get(gcf,'UserData'); handles.textnum = 6; set(gcf,'UserData',handles); wavexpofn 'atext' % --- Executes during object creation, after setting all properties. function a7_CreateFcn(hObject, eventdata, handles) usewhitebg = 1; if usewhitebg set(hObject,'BackgroundColor',[.9 .9 .9]); else set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor')); end % --- Executes on slider movement. function a7_Callback(hObject, eventdata, handles) handles = get(gcf,'UserData'); handles.textnum = 7; set(gcf,'UserData',handles); wavexpofn 'aslider' % --- Executes during object creation, after setting all properties. function a7t_CreateFcn(hObject, eventdata, handles) if ispc set(hObject,'BackgroundColor','white'); else set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor')); end function a7t_Callback(hObject, eventdata, handles) handles = get(gcf,'UserData'); handles.textnum = 7; set(gcf,'UserData',handles); wavexpofn 'atext' % --- Executes during object creation, after setting all properties. function p0_CreateFcn(hObject, eventdata, handles) usewhitebg = 1; if usewhitebg set(hObject,'BackgroundColor',[.9 .9 .9]); else set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor')); end % --- Executes on slider movement. function p0_Callback(hObject, eventdata, handles) handles = get(gcf,'UserData'); handles.textnum = 0; set(gcf,'UserData',handles); wavexpofn 'pslider' % --- Executes during object creation, after setting all properties. function p0t_CreateFcn(hObject, eventdata, handles) if ispc set(hObject,'BackgroundColor','white'); else set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor')); end function p0t_Callback(hObject, eventdata, handles) handles = get(gcf,'UserData'); handles.textnum = 0; set(gcf,'UserData',handles); wavexpofn 'ptext' % --- Executes during object creation, after setting all properties. function p1_CreateFcn(hObject, eventdata, handles) usewhitebg = 1; if usewhitebg set(hObject,'BackgroundColor',[.9 .9 .9]); else set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor')); end % --- Executes on slider movement. function p1_Callback(hObject, eventdata, handles) handles = get(gcf,'UserData'); handles.textnum = 1; set(gcf,'UserData',handles); wavexpofn 'pslider' % --- Executes during object creation, after setting all properties. function p1t_CreateFcn(hObject, eventdata, handles) if ispc set(hObject,'BackgroundColor','white'); else set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor')); end function p1t_Callback(hObject, eventdata, handles) handles = get(gcf,'UserData'); handles.textnum = 1; set(gcf,'UserData',handles); wavexpofn 'ptext' % --- Executes during object creation, after setting all properties. function p2_CreateFcn(hObject, eventdata, handles) usewhitebg = 1; if usewhitebg set(hObject,'BackgroundColor',[.9 .9 .9]); else set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor')); end % --- Executes on slider movement. function p2_Callback(hObject, eventdata, handles) handles = get(gcf,'UserData'); handles.textnum = 2; set(gcf,'UserData',handles); wavexpofn 'pslider' % --- Executes during object creation, after setting all properties. function p2t_CreateFcn(hObject, eventdata, handles) if ispc set(hObject,'BackgroundColor','white'); else set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor')); end function p2t_Callback(hObject, eventdata, handles) handles = get(gcf,'UserData'); handles.textnum = 2; set(gcf,'UserData',handles); wavexpofn 'ptext' % --- Executes during object creation, after setting all properties. function p3_CreateFcn(hObject, eventdata, handles) usewhitebg = 1; if usewhitebg set(hObject,'BackgroundColor',[.9 .9 .9]); else set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor')); end % --- Executes on slider movement. function p3_Callback(hObject, eventdata, handles) handles = get(gcf,'UserData'); handles.textnum = 3; set(gcf,'UserData',handles); wavexpofn 'pslider' % --- Executes during object creation, after setting all properties. function p3t_CreateFcn(hObject, eventdata, handles) if ispc set(hObject,'BackgroundColor','white'); else set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor')); end function p3t_Callback(hObject, eventdata, handles) handles = get(gcf,'UserData'); handles.textnum = 3; set(gcf,'UserData',handles); wavexpofn 'ptext' % --- Executes during object creation, after setting all properties. function p4_CreateFcn(hObject, eventdata, handles) usewhitebg = 1; if usewhitebg set(hObject,'BackgroundColor',[.9 .9 .9]); else set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor')); end % --- Executes on slider movement. function p4_Callback(hObject, eventdata, handles) handles = get(gcf,'UserData'); handles.textnum = 4; set(gcf,'UserData',handles); wavexpofn 'pslider' % --- Executes during object creation, after setting all properties. function p4t_CreateFcn(hObject, eventdata, handles) if ispc set(hObject,'BackgroundColor','white'); else set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor')); end function p4t_Callback(hObject, eventdata, handles) handles = get(gcf,'UserData'); handles.textnum = 4; set(gcf,'UserData',handles); wavexpofn 'ptext' % --- Executes during object creation, after setting all properties. function p5_CreateFcn(hObject, eventdata, handles) usewhitebg = 1; if usewhitebg set(hObject,'BackgroundColor',[.9 .9 .9]); else set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor')); end % --- Executes on slider movement. function p5_Callback(hObject, eventdata, handles) handles = get(gcf,'UserData'); handles.textnum = 5; set(gcf,'UserData',handles); wavexpofn 'pslider' % --- Executes during object creation, after setting all properties. function p5t_CreateFcn(hObject, eventdata, handles) if ispc set(hObject,'BackgroundColor','white'); else set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor')); end function p5t_Callback(hObject, eventdata, handles) handles = get(gcf,'UserData'); handles.textnum = 5; set(gcf,'UserData',handles); wavexpofn 'ptext' % --- Executes during object creation, after setting all properties. function p6_CreateFcn(hObject, eventdata, handles) usewhitebg = 1; if usewhitebg set(hObject,'BackgroundColor',[.9 .9 .9]); else set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor')); end % --- Executes on slider movement. function p6_Callback(hObject, eventdata, handles) handles = get(gcf,'UserData'); handles.textnum = 6; set(gcf,'UserData',handles); wavexpofn 'pslider' % --- Executes during object creation, after setting all properties. function p6t_CreateFcn(hObject, eventdata, handles) if ispc set(hObject,'BackgroundColor','white'); else set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor')); end function p6t_Callback(hObject, eventdata, handles) handles = get(gcf,'UserData'); handles.textnum = 6; set(gcf,'UserData',handles); wavexpofn 'ptext' % --- Executes during object creation, after setting all properties. function p7_CreateFcn(hObject, eventdata, handles) usewhitebg = 1; if usewhitebg set(hObject,'BackgroundColor',[.9 .9 .9]); else set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor')); end % --- Executes on slider movement. function p7_Callback(hObject, eventdata, handles) handles = get(gcf,'UserData'); handles.textnum = 7; set(gcf,'UserData',handles); wavexpofn 'pslider' % --- Executes during object creation, after setting all properties. function p7t_CreateFcn(hObject, eventdata, handles) if ispc set(hObject,'BackgroundColor','white'); else set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor')); end function p7t_Callback(hObject, eventdata, handles) handles = get(gcf,'UserData'); handles.textnum = 7; set(gcf,'UserData',handles); wavexpofn 'ptext' % --- Executes during object creation, after setting all properties. function f8_CreateFcn(hObject, eventdata, handles) usewhitebg = 1; if usewhitebg set(hObject,'BackgroundColor',[.9 .9 .9]); else set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor')); end % --- Executes on slider movement. function f8_Callback(hObject, eventdata, handles) handles = get(gcf,'UserData'); handles.textnum = 8; set(gcf,'UserData',handles); wavexpofn 'fslider' % --- Executes during object creation, after setting all properties. function f8t_CreateFcn(hObject, eventdata, handles) if ispc set(hObject,'BackgroundColor','white'); else set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor')); end function f8t_Callback(hObject, eventdata, handles) handles = get(gcf,'UserData'); handles.textnum = 8; set(gcf,'UserData',handles); wavexpofn 'ftext' % --- Executes during object creation, after setting all properties. function f9_CreateFcn(hObject, eventdata, handles) usewhitebg = 1; if usewhitebg set(hObject,'BackgroundColor',[.9 .9 .9]); else set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor')); end % --- Executes on slider movement. function f9_Callback(hObject, eventdata, handles) handles = get(gcf,'UserData'); handles.textnum = 9; set(gcf,'UserData',handles); wavexpofn 'fslider' % --- Executes during object creation, after setting all properties. function f9t_CreateFcn(hObject, eventdata, handles) if ispc set(hObject,'BackgroundColor','white'); else set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor')); end function f9t_Callback(hObject, eventdata, handles) handles = get(gcf,'UserData'); handles.textnum = 9; set(gcf,'UserData',handles); wavexpofn 'ftext' % --- Executes during object creation, after setting all properties. function f10_CreateFcn(hObject, eventdata, handles) usewhitebg = 1; if usewhitebg set(hObject,'BackgroundColor',[.9 .9 .9]); else set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor')); end % --- Executes on slider movement. function f10_Callback(hObject, eventdata, handles) handles = get(gcf,'UserData'); handles.textnum = 10; set(gcf,'UserData',handles); wavexpofn 'fslider' % --- Executes during object creation, after setting all properties. function f10t_CreateFcn(hObject, eventdata, handles) if ispc set(hObject,'BackgroundColor','white'); else set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor')); end function f10t_Callback(hObject, eventdata, handles) handles = get(gcf,'UserData'); handles.textnum = 10; set(gcf,'UserData',handles); wavexpofn 'ftext' % --- Executes during object creation, after setting all properties. function f11_CreateFcn(hObject, eventdata, handles) usewhitebg = 1; if usewhitebg set(hObject,'BackgroundColor',[.9 .9 .9]); else set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor')); end % --- Executes on slider movement. function f11_Callback(hObject, eventdata, handles) handles = get(gcf,'UserData'); handles.textnum = 11; set(gcf,'UserData',handles); wavexpofn 'fslider' % --- Executes during object creation, after setting all properties. function f11t_CreateFcn(hObject, eventdata, handles) if ispc set(hObject,'BackgroundColor','white'); else set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor')); end function f11t_Callback(hObject, eventdata, handles) handles = get(gcf,'UserData'); handles.textnum = 11; set(gcf,'UserData',handles); wavexpofn 'ftext' % --- Executes during object creation, after setting all properties. function f12_CreateFcn(hObject, eventdata, handles) usewhitebg = 1; if usewhitebg set(hObject,'BackgroundColor',[.9 .9 .9]); else set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor')); end % --- Executes on slider movement. function f12_Callback(hObject, eventdata, handles) handles = get(gcf,'UserData'); handles.textnum = 12; set(gcf,'UserData',handles); wavexpofn 'fslider' % --- Executes during object creation, after setting all properties. function f12t_CreateFcn(hObject, eventdata, handles) if ispc set(hObject,'BackgroundColor','white'); else set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor')); end function f12t_Callback(hObject, eventdata, handles) handles = get(gcf,'UserData'); handles.textnum = 12; set(gcf,'UserData',handles); wavexpofn 'ftext' % --- Executes during object creation, after setting all properties. function f13_CreateFcn(hObject, eventdata, handles) usewhitebg = 1; if usewhitebg set(hObject,'BackgroundColor',[.9 .9 .9]); else set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor')); end % --- Executes on slider movement. function f13_Callback(hObject, eventdata, handles) handles = get(gcf,'UserData'); handles.textnum = 13; set(gcf,'UserData',handles); wavexpofn 'fslider' % --- Executes during object creation, after setting all properties. function f13t_CreateFcn(hObject, eventdata, handles) if ispc set(hObject,'BackgroundColor','white'); else set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor')); end function f13t_Callback(hObject, eventdata, handles) handles = get(gcf,'UserData'); handles.textnum = 13; set(gcf,'UserData',handles); wavexpofn 'ftext' % --- Executes during object creation, after setting all properties. function f14_CreateFcn(hObject, eventdata, handles) usewhitebg = 1; if usewhitebg set(hObject,'BackgroundColor',[.9 .9 .9]); else set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor')); end % --- Executes on slider movement. function f14_Callback(hObject, eventdata, handles) handles = get(gcf,'UserData'); handles.textnum = 14; set(gcf,'UserData',handles); wavexpofn 'fslider' % --- Executes during object creation, after setting all properties. function f14t_CreateFcn(hObject, eventdata, handles) if ispc set(hObject,'BackgroundColor','white'); else set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor')); end function f14t_Callback(hObject, eventdata, handles) handles = get(gcf,'UserData'); handles.textnum = 14; set(gcf,'UserData',handles); wavexpofn 'ftext' % --- Executes during object creation, after setting all properties. function a8_CreateFcn(hObject, eventdata, handles) usewhitebg = 1; if usewhitebg set(hObject,'BackgroundColor',[.9 .9 .9]); else set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor')); end % --- Executes on slider movement. function a8_Callback(hObject, eventdata, handles) handles = get(gcf,'UserData'); handles.textnum = 8; set(gcf,'UserData',handles); wavexpofn 'aslider' % --- Executes during object creation, after setting all properties. function a8t_CreateFcn(hObject, eventdata, handles) if ispc set(hObject,'BackgroundColor','white'); else set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor')); end function a8t_Callback(hObject, eventdata, handles) handles = get(gcf,'UserData'); handles.textnum = 8; set(gcf,'UserData',handles); wavexpofn 'atext' % --- Executes during object creation, after setting all properties. function a9_CreateFcn(hObject, eventdata, handles) usewhitebg = 1; if usewhitebg set(hObject,'BackgroundColor',[.9 .9 .9]); else set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor')); end % --- Executes on slider movement. function a9_Callback(hObject, eventdata, handles) handles = get(gcf,'UserData'); handles.textnum = 9; set(gcf,'UserData',handles); wavexpofn 'aslider' % --- Executes during object creation, after setting all properties. function a9t_CreateFcn(hObject, eventdata, handles) if ispc set(hObject,'BackgroundColor','white'); else set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor')); end function a9t_Callback(hObject, eventdata, handles) handles = get(gcf,'UserData'); handles.textnum = 9; set(gcf,'UserData',handles); wavexpofn 'atext' % --- Executes during object creation, after setting all properties. function a10_CreateFcn(hObject, eventdata, handles) usewhitebg = 1; if usewhitebg set(hObject,'BackgroundColor',[.9 .9 .9]); else set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor')); end % --- Executes on slider movement. function a10_Callback(hObject, eventdata, handles) handles = get(gcf,'UserData'); handles.textnum = 10; set(gcf,'UserData',handles); wavexpofn 'aslider' % --- Executes during object creation, after setting all properties. function a10t_CreateFcn(hObject, eventdata, handles) if ispc set(hObject,'BackgroundColor','white'); else set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor')); end function a10t_Callback(hObject, eventdata, handles) handles = get(gcf,'UserData'); handles.textnum = 10; set(gcf,'UserData',handles); wavexpofn 'atext' % --- Executes during object creation, after setting all properties. function a11_CreateFcn(hObject, eventdata, handles) usewhitebg = 1; if usewhitebg set(hObject,'BackgroundColor',[.9 .9 .9]); else set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor')); end % --- Executes on slider movement. function a11_Callback(hObject, eventdata, handles) handles = get(gcf,'UserData'); handles.textnum = 11; set(gcf,'UserData',handles); wavexpofn 'aslider' % --- Executes during object creation, after setting all properties. function a11t_CreateFcn(hObject, eventdata, handles) if ispc set(hObject,'BackgroundColor','white'); else set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor')); end function a11t_Callback(hObject, eventdata, handles) handles = get(gcf,'UserData'); handles.textnum = 11; set(gcf,'UserData',handles); wavexpofn 'atext' % --- Executes during object creation, after setting all properties. function a12_CreateFcn(hObject, eventdata, handles) usewhitebg = 1; if usewhitebg set(hObject,'BackgroundColor',[.9 .9 .9]); else set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor')); end % --- Executes on slider movement. function a12_Callback(hObject, eventdata, handles) handles = get(gcf,'UserData'); handles.textnum = 12; set(gcf,'UserData',handles); wavexpofn 'aslider' % --- Executes during object creation, after setting all properties. function a12t_CreateFcn(hObject, eventdata, handles) if ispc set(hObject,'BackgroundColor','white'); else set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor')); end function a12t_Callback(hObject, eventdata, handles) handles = get(gcf,'UserData'); handles.textnum = 12; set(gcf,'UserData',handles); wavexpofn 'atext' % --- Executes during object creation, after setting all properties. function a13_CreateFcn(hObject, eventdata, handles) usewhitebg = 1; if usewhitebg set(hObject,'BackgroundColor',[.9 .9 .9]); else set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor')); end % --- Executes on slider movement. function a13_Callback(hObject, eventdata, handles) handles = get(gcf,'UserData'); handles.textnum = 13; set(gcf,'UserData',handles); wavexpofn 'aslider' % --- Executes during object creation, after setting all properties. function a13t_CreateFcn(hObject, eventdata, handles) if ispc set(hObject,'BackgroundColor','white'); else set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor')); end function a13t_Callback(hObject, eventdata, handles) handles = get(gcf,'UserData'); handles.textnum = 13; set(gcf,'UserData',handles); wavexpofn 'atext' % --- Executes during object creation, after setting all properties. function a14t_CreateFcn(hObject, eventdata, handles) if ispc set(hObject,'BackgroundColor','white'); else set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor')); end function a14t_Callback(hObject, eventdata, handles) handles = get(gcf,'UserData'); handles.textnum = 14; set(gcf,'UserData',handles); wavexpofn 'atext' % --- Executes during object creation, after setting all properties. function a14_CreateFcn(hObject, eventdata, handles) usewhitebg = 1; if usewhitebg set(hObject,'BackgroundColor',[.9 .9 .9]); else set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor')); end % --- Executes on slider movement. function a14_Callback(hObject, eventdata, handles) handles = get(gcf,'UserData'); handles.textnum = 14; set(gcf,'UserData',handles); wavexpofn 'aslider' % --- Executes during object creation, after setting all properties. function p8_CreateFcn(hObject, eventdata, handles) usewhitebg = 1; if usewhitebg set(hObject,'BackgroundColor',[.9 .9 .9]); else set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor')); end % --- Executes on slider movement. function p8_Callback(hObject, eventdata, handles) handles = get(gcf,'UserData'); handles.textnum = 8; set(gcf,'UserData',handles); wavexpofn 'pslider' % --- Executes during object creation, after setting all properties. function p9_CreateFcn(hObject, eventdata, handles) usewhitebg = 1; if usewhitebg set(hObject,'BackgroundColor',[.9 .9 .9]); else set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor')); end % --- Executes on slider movement. function p9_Callback(hObject, eventdata, handles) handles = get(gcf,'UserData'); handles.textnum = 9; set(gcf,'UserData',handles); wavexpofn 'pslider' % --- Executes during object creation, after setting all properties. function p10_CreateFcn(hObject, eventdata, handles) usewhitebg = 1; if usewhitebg set(hObject,'BackgroundColor',[.9 .9 .9]); else set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor')); end % --- Executes on slider movement. function p10_Callback(hObject, eventdata, handles) handles = get(gcf,'UserData'); handles.textnum = 10; set(gcf,'UserData',handles); wavexpofn 'pslider' % --- Executes during object creation, after setting all properties. function p11_CreateFcn(hObject, eventdata, handles) usewhitebg = 1; if usewhitebg set(hObject,'BackgroundColor',[.9 .9 .9]); else set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor')); end % --- Executes on slider movement. function p11_Callback(hObject, eventdata, handles) handles = get(gcf,'UserData'); handles.textnum = 11; set(gcf,'UserData',handles); wavexpofn 'pslider' % --- Executes during object creation, after setting all properties. function p12_CreateFcn(hObject, eventdata, handles) usewhitebg = 1; if usewhitebg set(hObject,'BackgroundColor',[.9 .9 .9]); else set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor')); end % --- Executes on slider movement. function p12_Callback(hObject, eventdata, handles) handles = get(gcf,'UserData'); handles.textnum = 12; set(gcf,'UserData',handles); wavexpofn 'pslider' % --- Executes during object creation, after setting all properties. function p13_CreateFcn(hObject, eventdata, handles) usewhitebg = 1; if usewhitebg set(hObject,'BackgroundColor',[.9 .9 .9]); else set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor')); end % --- Executes on slider movement. function p13_Callback(hObject, eventdata, handles) handles = get(gcf,'UserData'); handles.textnum = 13; set(gcf,'UserData',handles); wavexpofn 'pslider' % --- Executes during object creation, after setting all properties. function p14_CreateFcn(hObject, eventdata, handles) usewhitebg = 1; if usewhitebg set(hObject,'BackgroundColor',[.9 .9 .9]); else set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor')); end % --- Executes on slider movement. function p14_Callback(hObject, eventdata, handles) handles = get(gcf,'UserData'); handles.textnum = 14; set(gcf,'UserData',handles); wavexpofn 'pslider' % --- Executes during object creation, after setting all properties. function p8t_CreateFcn(hObject, eventdata, handles) if ispc set(hObject,'BackgroundColor','white'); else set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor')); end function p8t_Callback(hObject, eventdata, handles) handles = get(gcf,'UserData'); handles.textnum = 8; set(gcf,'UserData',handles); wavexpofn 'ptext' % --- Executes during object creation, after setting all properties. function p9t_CreateFcn(hObject, eventdata, handles) if ispc set(hObject,'BackgroundColor','white'); else set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor')); end function p9t_Callback(hObject, eventdata, handles) handles = get(gcf,'UserData'); handles.textnum = 9; set(gcf,'UserData',handles); wavexpofn 'ptext' % --- Executes during object creation, after setting all properties. function p10t_CreateFcn(hObject, eventdata, handles) if ispc set(hObject,'BackgroundColor','white'); else set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor')); end function p10t_Callback(hObject, eventdata, handles) handles = get(gcf,'UserData'); handles.textnum = 10; set(gcf,'UserData',handles); wavexpofn 'ptext' % --- Executes during object creation, after setting all properties. function p11t_CreateFcn(hObject, eventdata, handles) if ispc set(hObject,'BackgroundColor','white'); else set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor')); end function p11t_Callback(hObject, eventdata, handles) handles = get(gcf,'UserData'); handles.textnum = 11; set(gcf,'UserData',handles); wavexpofn 'ptext' % --- Executes during object creation, after setting all properties. function p12t_CreateFcn(hObject, eventdata, handles) if ispc set(hObject,'BackgroundColor','white'); else set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor')); end function p12t_Callback(hObject, eventdata, handles) handles = get(gcf,'UserData'); handles.textnum = 12; set(gcf,'UserData',handles); wavexpofn 'ptext' % --- Executes during object creation, after setting all properties. function p13t_CreateFcn(hObject, eventdata, handles) if ispc set(hObject,'BackgroundColor','white'); else set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor')); end function p13t_Callback(hObject, eventdata, handles) handles = get(gcf,'UserData'); handles.textnum = 13; set(gcf,'UserData',handles); wavexpofn 'ptext' % --- Executes during object creation, after setting all properties. function p14t_CreateFcn(hObject, eventdata, handles) if ispc set(hObject,'BackgroundColor','white'); else set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor')); end function p14t_Callback(hObject, eventdata, handles) handles = get(gcf,'UserData'); handles.textnum = 14; set(gcf,'UserData',handles); wavexpofn 'ptext' % -------------------------------------------------------------------- function Untitled_1_Callback(hObject, eventdata, handles) % hObject handle to Untitled_1 (see GCBO) % eventdata reserved - to be defined in a future version of MATLAB % handles structure with handles and user data (see GUIDATA) % -------------------------------------------------------------------- function sonogram_Callback(hObject, eventdata, handles) wavexpofn 'sonogram'; % -------------------------------------------------------------------- function fourier_Callback(hObject, eventdata, handles) wavexpofn 'fourier'; % --- Executes on button press in randomize. function randomize_Callback(hObject, eventdata, handles) wavexpofn 'randomizephase'; % -------------------------------------------------------------------- function alias_Callback(hObject, eventdata, handles) % hObject handle to alias (see GCBO) % eventdata reserved - to be defined in a future version of MATLAB % handles structure with handles and user data (see GUIDATA) wavexpofn 'alias'; % -------------------------------------------------------------------- function help_Callback(hObject, eventdata, handles) % hObject handle to help (see GCBO) % eventdata reserved - to be defined in a future version of MATLAB % handles structure with handles and user data (see GUIDATA) wavexpofn 'help'; % -------------------------------------------------------------------- function Untitled_2_Callback(hObject, eventdata, handles) % hObject handle to Untitled_2 (see GCBO) % eventdata reserved - to be defined in a future version of MATLAB % handles structure with handles and user data (see GUIDATA) % --- Creates and returns a handle to the GUI figure. function h1 = wavexpogui_LayoutFcn(policy) % policy - create a new figure or use a singleton. 'new' or 'reuse'. persistent hsingleton; if strcmpi(policy, 'reuse') & ishandle(hsingleton) h1 = hsingleton; return; end h1 = figure(... 'Units','characters',... 'Color',[0.701960784313725 0.701960784313725 0.701960784313725],... 'Colormap',[0 0 0.5625;0 0 0.625;0 0 0.6875;0 0 0.75;0 0 0.8125;0 0 0.875;0 0 0.9375;0 0 1;0 0.0625 1;0 0.125 1;0 0.1875 1;0 0.25 1;0 0.3125 1;0 0.375 1;0 0.4375 1;0 0.5 1;0 0.5625 1;0 0.625 1;0 0.6875 1;0 0.75 1;0 0.8125 1;0 0.875 1;0 0.9375 1;0 1 1;0.0625 1 1;0.125 1 0.9375;0.1875 1 0.875;0.25 1 0.8125;0.3125 1 0.75;0.375 1 0.6875;0.4375 1 0.625;0.5 1 0.5625;0.5625 1 0.5;0.625 1 0.4375;0.6875 1 0.375;0.75 1 0.3125;0.8125 1 0.25;0.875 1 0.1875;0.9375 1 0.125;1 1 0.0625;1 1 0;1 0.9375 0;1 0.875 0;1 0.8125 0;1 0.75 0;1 0.6875 0;1 0.625 0;1 0.5625 0;1 0.5 0;1 0.4375 0;1 0.375 0;1 0.3125 0;1 0.25 0;1 0.1875 0;1 0.125 0;1 0.0625 0;1 0 0;0.9375 0 0;0.875 0 0;0.8125 0 0;0.75 0 0;0.6875 0 0;0.625 0 0;0.5625 0 0],... 'IntegerHandle','off',... 'InvertHardcopy',get(0,'defaultfigureInvertHardcopy'),... 'MenuBar','none',... 'Name','wavexpo',... 'NumberTitle','off',... 'PaperOrientation','landscape',... 'PaperPosition',[0.25 2.5 10 8],... 'PaperSize',[11 8.5],... 'Position',[80.2 11.2307692307692 175 50.2307692307692],... 'Renderer',get(0,'defaultfigureRenderer'),... 'RendererMode','manual',... 'HandleVisibility','callback',... 'Tag','wavexpo_fig',... 'UserData',[]); setappdata(h1, 'GUIDEOptions',struct(... 'active_h', [], ... 'taginfo', struct(... 'figure', 2, ... 'text', 104, ... 'axes', 2, ... 'slider', 95, ... 'frame', 10, ... 'listbox', 2, ... 'popupmenu', 2, ... 'edit', 110, ... 'pushbutton', 8, ... 'togglebutton', 2), ... 'override', 1, ... 'release', 13, ... 'resize', 'simple', ... 'accessibility', 'callback', ... 'mfile', 1, ... 'callbacks', 1, ... 'singleton', 1, ... 'syscolorfig', 1, ... 'lastSavedFile', '/Users/bobsturm/gibson/SSUM.PC/wavexpo/wavexpo.m', ... 'blocking', 0)); h2 = uicontrol(... 'Parent',h1,... 'Units','characters',... 'FontSize',14,... 'FontWeight','bold',... 'HorizontalAlignment','left',... 'ListboxTop',0,... 'Position',[1.33333333333333 47.7317259854573 40 1.83263171322873],... 'String','Waveform Generator',... 'Style','text',... 'Tag','text91'); h3 = axes(... 'Parent',h1,... 'Units','characters',... 'CameraPosition',[0.5 0.5 9.16025403784439],... 'CameraPositionMode',get(0,'defaultaxesCameraPositionMode'),... 'Color',get(0,'defaultaxesColor'),... 'ColorOrder',get(0,'defaultaxesColorOrder'),... 'Position',[47.8 34.9230769230769 125.4 14.7692307692308],... 'XColor',get(0,'defaultaxesXColor'),... 'YColor',get(0,'defaultaxesYColor'),... 'ZColor',get(0,'defaultaxesZColor'),... 'Tag','waveplot'); h4 = get(h3,'title'); set(h4,... 'Parent',h3,... 'Color',[0 0 0],... 'HorizontalAlignment','center',... 'Position',[0.499264705882353 1.03611111111111 1.00005459937205],... 'VerticalAlignment','bottom',... 'HandleVisibility','off'); h5 = get(h3,'xlabel'); set(h5,... 'Parent',h3,... 'Color',[0 0 0],... 'HorizontalAlignment','center',... 'Position',[0.499264705882353 -0.130555555555556 1.00005459937205],... 'VerticalAlignment','cap',... 'HandleVisibility','off'); h6 = get(h3,'ylabel'); set(h6,... 'Parent',h3,... 'Color',[0 0 0],... 'HorizontalAlignment','center',... 'Position',[-0.0345588235294118 0.491666666666667 1.00005459937205],... 'Rotation',90,... 'VerticalAlignment','bottom',... 'HandleVisibility','off'); h7 = get(h3,'zlabel'); set(h7,... 'Parent',h3,... 'Color',[0 0 0],... 'HorizontalAlignment','right',... 'Position',[-0.366911764705882 1.025 1.00005459937205],... 'HandleVisibility','off',... 'Visible','off'); h8 = uicontrol(... 'Parent',h1,... 'Units','characters',... 'BackgroundColor',[0.5 0.701960784313725 0.701960784313725],... 'ListboxTop',0,... 'Position',[1.10759493670886 -0.0822004028197382 60.3639240506329 32],... 'String',{ '' },... 'Style','frame',... 'Tag','frame2'); h9 = uicontrol(... 'Parent',h1,... 'Units','characters',... 'BackgroundColor',[0.9 0.9 0.9],... 'Callback','wavexpogui(''f0_Callback'',gcbo,[],guidata(gcbo))',... 'Max',14.45,... 'Min',4.3,... 'Position',[6.83016877637131 28.7701409869084 43.1962025316456 1.0686052366566],... 'String',{ '' },... 'Style','slider',... 'CreateFcn','wavexpogui(''f0_CreateFcn'',gcbo,[],guidata(gcbo))',... 'Tag','f0'); h10 = uicontrol(... 'Parent',h1,... 'Units','characters',... 'Callback','wavexpogui(''waveform_Callback'',gcbo,[],guidata(gcbo))',... 'ListboxTop',0,... 'Position',[1.33333333333333 37.6522515626993 19.1666666666667 1.91593315473912],... 'String',{ 'Sine'; 'Square'; 'Triangle'; 'Sawtooth'; 'Impulse'; 'Random' },... 'Style','popupmenu',... 'Value',1,... 'CreateFcn','wavexpogui(''waveform_CreateFcn'',gcbo,[],guidata(gcbo))',... 'Tag','waveform'); h11 = uicontrol(... 'Parent',h1,... 'Units','characters',... 'Callback','wavexpogui(''f0t_Callback'',gcbo,[],guidata(gcbo))',... 'ListboxTop',0,... 'Position',[51.1339662447257 28.6057401812689 8.30696202531646 1.56180765357503],... 'String',{ 'Edit Text' },... 'Style','edit',... 'CreateFcn','wavexpogui(''f0t_CreateFcn'',gcbo,[],guidata(gcbo))',... 'Tag','f0t'); h12 = uicontrol(... 'Parent',h1,... 'Units','characters',... 'BackgroundColor',[0.9 0.9 0.9],... 'Callback','wavexpogui(''f1_Callback'',gcbo,[],guidata(gcbo))',... 'Max',14.45,... 'Min',4.3,... 'Position',[6.83016877637131 26.8795317220544 43.1962025316456 1.0686052366566],... 'String',{ '' },... 'Style','slider',... 'CreateFcn','wavexpogui(''f1_CreateFcn'',gcbo,[],guidata(gcbo))',... 'Tag','f1'); h13 = uicontrol(... 'Parent',h1,... 'Units','characters',... 'Callback','wavexpogui(''f1t_Callback'',gcbo,[],guidata(gcbo))',... 'ListboxTop',0,... 'Position',[51.1339662447257 26.7151309164149 8.30696202531646 1.56180765357503],... 'String',{ 'Edit Text' },... 'Style','edit',... 'CreateFcn','wavexpogui(''f1t_CreateFcn'',gcbo,[],guidata(gcbo))',... 'Tag','f1t'); h14 = uicontrol(... 'Parent',h1,... 'Units','characters',... 'BackgroundColor',[0.9 0.9 0.9],... 'Callback','wavexpogui(''f2_Callback'',gcbo,[],guidata(gcbo))',... 'Max',14.45,... 'Min',4.3,... 'Position',[6.83016877637131 24.9889224572004 43.1962025316456 1.0686052366566],... 'String',{ '' },... 'Style','slider',... 'CreateFcn','wavexpogui(''f2_CreateFcn'',gcbo,[],guidata(gcbo))',... 'Tag','f2'); h15 = uicontrol(... 'Parent',h1,... 'Units','characters',... 'Callback','wavexpogui(''f2t_Callback'',gcbo,[],guidata(gcbo))',... 'ListboxTop',0,... 'Position',[51.1339662447257 24.8245216515609 8.30696202531646 1.56180765357503],... 'String',{ 'Edit Text' },... 'Style','edit',... 'CreateFcn','wavexpogui(''f2t_CreateFcn'',gcbo,[],guidata(gcbo))',... 'Tag','f2t'); h16 = uicontrol(... 'Parent',h1,... 'Units','characters',... 'BackgroundColor',[0.9 0.9 0.9],... 'Callback','wavexpogui(''f3_Callback'',gcbo,[],guidata(gcbo))',... 'Max',14.45,... 'Min',4.3,... 'Position',[6.83016877637131 23.0983131923464 43.1962025316456 1.0686052366566],... 'String',{ '' },... 'Style','slider',... 'CreateFcn','wavexpogui(''f3_CreateFcn'',gcbo,[],guidata(gcbo))',... 'Tag','f3'); h17 = uicontrol(... 'Parent',h1,... 'Units','characters',... 'Callback','wavexpogui(''f3t_Callback'',gcbo,[],guidata(gcbo))',... 'ListboxTop',0,... 'Position',[51.1339662447257 23.0161127895267 8.30696202531646 1.56180765357503],... 'String',{ 'Edit Text' },... 'Style','edit',... 'CreateFcn','wavexpogui(''f3t_CreateFcn'',gcbo,[],guidata(gcbo))',... 'Tag','f3t'); h18 = uicontrol(... 'Parent',h1,... 'Units','characters',... 'BackgroundColor',[0.9 0.9 0.9],... 'Callback','wavexpogui(''f4_Callback'',gcbo,[],guidata(gcbo))',... 'Max',14.45,... 'Min',4.3,... 'Position',[6.83016877637131 21.2077039274925 43.1962025316456 1.0686052366566],... 'String',{ '' },... 'Style','slider',... 'CreateFcn','wavexpogui(''f4_CreateFcn'',gcbo,[],guidata(gcbo))',... 'Tag','f4'); h19 = uicontrol(... 'Parent',h1,... 'Units','characters',... 'Callback','wavexpogui(''f4t_Callback'',gcbo,[],guidata(gcbo))',... 'ListboxTop',0,... 'Position',[51.1339662447257 21.043303121853 8.30696202531646 1.56180765357503],... 'String',{ 'Edit Text' },... 'Style','edit',... 'CreateFcn','wavexpogui(''f4t_CreateFcn'',gcbo,[],guidata(gcbo))',... 'Tag','f4t'); h20 = uicontrol(... 'Parent',h1,... 'Units','characters',... 'BackgroundColor',[0.9 0.9 0.9],... 'Callback','wavexpogui(''f5_Callback'',gcbo,[],guidata(gcbo))',... 'Max',14.45,... 'Min',4.3,... 'Position',[6.83016877637131 19.4814954682779 43.1962025316456 1.0686052366566],... 'String',{ '' },... 'Style','slider',... 'CreateFcn','wavexpogui(''f5_CreateFcn'',gcbo,[],guidata(gcbo))',... 'Tag','f5'); h21 = uicontrol(... 'Parent',h1,... 'Units','characters',... 'Callback','wavexpogui(''f5t_Callback'',gcbo,[],guidata(gcbo))',... 'ListboxTop',0,... 'Position',[51.1339662447257 19.2348942598187 8.30696202531646 1.56180765357503],... 'String',{ 'Edit Text' },... 'Style','edit',... 'CreateFcn','wavexpogui(''f5t_CreateFcn'',gcbo,[],guidata(gcbo))',... 'Tag','f5t'); h22 = uicontrol(... 'Parent',h1,... 'Units','characters',... 'BackgroundColor',[0.9 0.9 0.9],... 'Callback','wavexpogui(''f6_Callback'',gcbo,[],guidata(gcbo))',... 'Max',14.45,... 'Min',4.3,... 'Position',[6.83016877637131 17.5086858006042 43.1962025316456 1.0686052366566],... 'String',{ '' },... 'Style','slider',... 'CreateFcn','wavexpogui(''f6_CreateFcn'',gcbo,[],guidata(gcbo))',... 'Tag','f6'); h23 = uicontrol(... 'Parent',h1,... 'Units','characters',... 'Callback','wavexpogui(''f6t_Callback'',gcbo,[],guidata(gcbo))',... 'ListboxTop',0,... 'Position',[51.1339662447257 17.262084592145 8.30696202531646 1.56180765357503],... 'String',{ 'Edit Text' },... 'Style','edit',... 'CreateFcn','wavexpogui(''f6t_CreateFcn'',gcbo,[],guidata(gcbo))',... 'Tag','f6t'); h24 = uicontrol(... 'Parent',h1,... 'Units','characters',... 'BackgroundColor',[0.9 0.9 0.9],... 'Callback','wavexpogui(''f7_Callback'',gcbo,[],guidata(gcbo))',... 'Max',14.45,... 'Min',4.3,... 'Position',[6.83016877637131 15.5358761329305 43.1962025316456 1.0686052366566],... 'String',{ '' },... 'Style','slider',... 'CreateFcn','wavexpogui(''f7_CreateFcn'',gcbo,[],guidata(gcbo))',... 'Tag','f7'); h25 = uicontrol(... 'Parent',h1,... 'Units','characters',... 'Callback','wavexpogui(''f7t_Callback'',gcbo,[],guidata(gcbo))',... 'ListboxTop',0,... 'Position',[51.1339662447257 15.4536757301108 8.30696202531646 1.56180765357503],... 'String',{ 'Edit Text' },... 'Style','edit',... 'CreateFcn','wavexpogui(''f7t_CreateFcn'',gcbo,[],guidata(gcbo))',... 'Tag','f7t'); h26 = uicontrol(... 'Parent',h1,... 'Units','characters',... 'BackgroundColor',[0.5 0.701960784313725 0.701960784313725],... 'ListboxTop',0,... 'Position',[5.16877637130802 0.657603222557905 7.01476793248945 1.23300604229607],... 'String','0 Hz',... 'Style','text',... 'Tag','text11'); h27 = uicontrol(... 'Parent',h1,... 'Units','characters',... 'BackgroundColor',[0.5 0.701960784313725 0.701960784313725],... 'ListboxTop',0,... 'Position',[43.3808016877637 0.739803625377643 9.59915611814346 1.0686052366566],... 'String','22050 Hz',... 'Style','text',... 'Tag','text12'); h28 = uicontrol(... 'Parent',h1,... 'Units','characters',... 'BackgroundColor',[0.5 0.701960784313725 0.701960784313725],... 'FontSize',12,... 'FontWeight','bold',... 'ListboxTop',0,... 'Position',[21.4 30.1538461538462 22.8 1.46153846153846],... 'String','Frequencies',... 'Style','text',... 'Tag','text13'); h29 = uicontrol(... 'Parent',h1,... 'Units','characters',... 'BackgroundColor',[0.5 0.701960784313725 0.701960784313725],... 'ListboxTop',0,... 'Position',[62.2099156118144 -0.0822004028197382 55.5643459915612 32],... 'String',{ '' },... 'Style','frame',... 'Tag','frame3'); h30 = uicontrol(... 'Parent',h1,... 'Units','characters',... 'BackgroundColor',[0.9 0.9 0.9],... 'Callback','wavexpogui(''a0_Callback'',gcbo,[],guidata(gcbo))',... 'ListboxTop',0,... 'Position',[63.6867088607595 28.7701409869084 43.1962025316456 1.0686052366566],... 'String',{ '' },... 'Style','slider',... 'CreateFcn','wavexpogui(''a0_CreateFcn'',gcbo,[],guidata(gcbo))',... 'Tag','a0'); h31 = uicontrol(... 'Parent',h1,... 'Units','characters',... 'Callback','wavexpogui(''a0t_Callback'',gcbo,[],guidata(gcbo))',... 'ListboxTop',0,... 'Position',[107.990506329114 28.5235397784491 8.30696202531646 1.56180765357503],... 'String',{ 'Edit Text' },... 'Style','edit',... 'CreateFcn','wavexpogui(''a0t_CreateFcn'',gcbo,[],guidata(gcbo))',... 'Tag','a0t'); h32 = uicontrol(... 'Parent',h1,... 'Units','characters',... 'BackgroundColor',[0.9 0.9 0.9],... 'Callback','wavexpogui(''a1_Callback'',gcbo,[],guidata(gcbo))',... 'ListboxTop',0,... 'Position',[63.6867088607595 26.8795317220544 43.1962025316456 1.0686052366566],... 'String',{ '' },... 'Style','slider',... 'CreateFcn','wavexpogui(''a1_CreateFcn'',gcbo,[],guidata(gcbo))',... 'Tag','a1'); h33 = uicontrol(... 'Parent',h1,... 'Units','characters',... 'Callback','wavexpogui(''a1t_Callback'',gcbo,[],guidata(gcbo))',... 'ListboxTop',0,... 'Position',[107.990506329114 26.7151309164149 8.30696202531646 1.56180765357503],... 'String',{ 'Edit Text' },... 'Style','edit',... 'CreateFcn','wavexpogui(''a1t_CreateFcn'',gcbo,[],guidata(gcbo))',... 'Tag','a1t'); h34 = uicontrol(... 'Parent',h1,... 'Units','characters',... 'BackgroundColor',[0.9 0.9 0.9],... 'Callback','wavexpogui(''a2_Callback'',gcbo,[],guidata(gcbo))',... 'ListboxTop',0,... 'Position',[63.6867088607595 24.9889224572004 43.1962025316456 1.0686052366566],... 'String',{ '' },... 'Style','slider',... 'CreateFcn','wavexpogui(''a2_CreateFcn'',gcbo,[],guidata(gcbo))',... 'Tag','a2'); h35 = uicontrol(... 'Parent',h1,... 'Units','characters',... 'Callback','wavexpogui(''a2t_Callback'',gcbo,[],guidata(gcbo))',... 'ListboxTop',0,... 'Position',[107.990506329114 24.8245216515609 8.30696202531646 1.56180765357503],... 'String',{ 'Edit Text' },... 'Style','edit',... 'CreateFcn','wavexpogui(''a2t_CreateFcn'',gcbo,[],guidata(gcbo))',... 'Tag','a2t'); h36 = uicontrol(... 'Parent',h1,... 'Units','characters',... 'BackgroundColor',[0.9 0.9 0.9],... 'Callback','wavexpogui(''a3_Callback'',gcbo,[],guidata(gcbo))',... 'ListboxTop',0,... 'Position',[63.6867088607595 23.0161127895267 43.1962025316456 1.0686052366566],... 'String',{ '' },... 'Style','slider',... 'CreateFcn','wavexpogui(''a3_CreateFcn'',gcbo,[],guidata(gcbo))',... 'Tag','a3'); h37 = uicontrol(... 'Parent',h1,... 'Units','characters',... 'Callback','wavexpogui(''a3t_Callback'',gcbo,[],guidata(gcbo))',... 'ListboxTop',0,... 'Position',[107.990506329114 23.0161127895267 8.30696202531646 1.56180765357503],... 'String',{ 'Edit Text' },... 'Style','edit',... 'CreateFcn','wavexpogui(''a3t_CreateFcn'',gcbo,[],guidata(gcbo))',... 'Tag','a3t'); h38 = uicontrol(... 'Parent',h1,... 'Units','characters',... 'BackgroundColor',[0.9 0.9 0.9],... 'Callback','wavexpogui(''a4_Callback'',gcbo,[],guidata(gcbo))',... 'ListboxTop',0,... 'Position',[63.6867088607595 21.2899043303122 43.1962025316456 1.0686052366566],... 'String',{ '' },... 'Style','slider',... 'CreateFcn','wavexpogui(''a4_CreateFcn'',gcbo,[],guidata(gcbo))',... 'Tag','a4'); h39 = uicontrol(... 'Parent',h1,... 'Units','characters',... 'Callback','wavexpogui(''a4t_Callback'',gcbo,[],guidata(gcbo))',... 'ListboxTop',0,... 'Position',[107.990506329114 21.043303121853 8.30696202531646 1.56180765357503],... 'String',{ 'Edit Text' },... 'Style','edit',... 'CreateFcn','wavexpogui(''a4t_CreateFcn'',gcbo,[],guidata(gcbo))',... 'Tag','a4t'); h40 = uicontrol(... 'Parent',h1,... 'Units','characters',... 'BackgroundColor',[0.9 0.9 0.9],... 'Callback','wavexpogui(''a5_Callback'',gcbo,[],guidata(gcbo))',... 'ListboxTop',0,... 'Position',[63.6867088607595 19.3170946626385 43.1962025316456 1.0686052366566],... 'String',{ '' },... 'Style','slider',... 'CreateFcn','wavexpogui(''a5_CreateFcn'',gcbo,[],guidata(gcbo))',... 'Tag','a5'); h41 = uicontrol(... 'Parent',h1,... 'Units','characters',... 'Callback','wavexpogui(''a5t_Callback'',gcbo,[],guidata(gcbo))',... 'ListboxTop',0,... 'Position',[107.990506329114 19.2348942598187 8.30696202531646 1.56180765357503],... 'String',{ 'Edit Text' },... 'Style','edit',... 'CreateFcn','wavexpogui(''a5t_CreateFcn'',gcbo,[],guidata(gcbo))',... 'Tag','a5t'); h42 = uicontrol(... 'Parent',h1,... 'Units','characters',... 'BackgroundColor',[0.9 0.9 0.9],... 'Callback','wavexpogui(''a6_Callback'',gcbo,[],guidata(gcbo))',... 'ListboxTop',0,... 'Position',[63.6867088607595 17.5086858006042 43.1962025316456 1.0686052366566],... 'String',{ '' },... 'Style','slider',... 'CreateFcn','wavexpogui(''a6_CreateFcn'',gcbo,[],guidata(gcbo))',... 'Tag','a6'); h43 = uicontrol(... 'Parent',h1,... 'Units','characters',... 'Callback','wavexpogui(''a6t_Callback'',gcbo,[],guidata(gcbo))',... 'ListboxTop',0,... 'Position',[107.990506329114 17.5086858006042 8.30696202531646 1.56180765357503],... 'String',{ 'Edit Text' },... 'Style','edit',... 'CreateFcn','wavexpogui(''a6t_CreateFcn'',gcbo,[],guidata(gcbo))',... 'Tag','a6t'); h44 = uicontrol(... 'Parent',h1,... 'Units','characters',... 'BackgroundColor',[0.9 0.9 0.9],... 'Callback','wavexpogui(''a7_Callback'',gcbo,[],guidata(gcbo))',... 'ListboxTop',0,... 'Position',[63.6867088607595 15.70027693857 43.1962025316456 1.0686052366566],... 'String',{ '' },... 'Style','slider',... 'CreateFcn','wavexpogui(''a7_CreateFcn'',gcbo,[],guidata(gcbo))',... 'Tag','a7'); h45 = uicontrol(... 'Parent',h1,... 'Units','characters',... 'Callback','wavexpogui(''a7t_Callback'',gcbo,[],guidata(gcbo))',... 'ListboxTop',0,... 'Position',[107.990506329114 15.5358761329305 8.30696202531646 1.56180765357503],... 'String',{ 'Edit Text' },... 'Style','edit',... 'CreateFcn','wavexpogui(''a7t_CreateFcn'',gcbo,[],guidata(gcbo))',... 'Tag','a7t'); h46 = uicontrol(... 'Parent',h1,... 'Units','characters',... 'BackgroundColor',[0.5 0.701960784313725 0.701960784313725],... 'ListboxTop',0,... 'Position',[62.5791139240507 0.657603222557905 7.01476793248945 1.23300604229607],... 'String','0',... 'Style','text',... 'Tag','text22'); h47 = uicontrol(... 'Parent',h1,... 'Units','characters',... 'BackgroundColor',[0.5 0.701960784313725 0.701960784313725],... 'ListboxTop',0,... 'Position',[102.267932489451 0.822004028197382 9.59915611814346 1.0686052366566],... 'String','1.0',... 'Style','text',... 'Tag','text23'); h48 = uicontrol(... 'Parent',h1,... 'Units','characters',... 'BackgroundColor',[0.5 0.701960784313725 0.701960784313725],... 'FontSize',12,... 'FontWeight','bold',... 'ListboxTop',0,... 'Position',[79.6 30.1538461538462 19.8 1.46153846153846],... 'String','Amplitudes',... 'Style','text',... 'Tag','text24'); h49 = uicontrol(... 'Parent',h1,... 'Units','characters',... 'BackgroundColor',[0.5 0.701960784313725 0.701960784313725],... 'ListboxTop',0,... 'Position',[118.32805907173 -0.0822004028197382 55.1951476793249 32],... 'String',{ '' },... 'Style','frame',... 'Tag','frame9'); h50 = uicontrol(... 'Parent',h1,... 'Units','characters',... 'BackgroundColor',[0.9 0.9 0.9],... 'Callback','wavexpogui(''p1_Callback'',gcbo,[],guidata(gcbo))',... 'ListboxTop',0,... 'Max',180,... 'Min',-180,... 'Position',[119.989451476793 26.8795317220544 43.1962025316456 1.0686052366566],... 'String',{ '' },... 'Style','slider',... 'CreateFcn','wavexpogui(''p1_CreateFcn'',gcbo,[],guidata(gcbo))',... 'Tag','p1'); h51 = uicontrol(... 'Parent',h1,... 'Units','characters',... 'BackgroundColor',[0.9 0.9 0.9],... 'Callback','wavexpogui(''p2_Callback'',gcbo,[],guidata(gcbo))',... 'ListboxTop',0,... 'Max',180,... 'Min',-180,... 'Position',[119.989451476793 24.9889224572004 43.1962025316456 1.0686052366566],... 'String',{ '' },... 'Style','slider',... 'CreateFcn','wavexpogui(''p2_CreateFcn'',gcbo,[],guidata(gcbo))',... 'Tag','p2'); h52 = uicontrol(... 'Parent',h1,... 'Units','characters',... 'BackgroundColor',[0.9 0.9 0.9],... 'Callback','wavexpogui(''p3_Callback'',gcbo,[],guidata(gcbo))',... 'ListboxTop',0,... 'Max',180,... 'Min',-180,... 'Position',[119.989451476793 23.0161127895267 43.1962025316456 1.0686052366566],... 'String',{ '' },... 'Style','slider',... 'CreateFcn','wavexpogui(''p3_CreateFcn'',gcbo,[],guidata(gcbo))',... 'Tag','p3'); h53 = uicontrol(... 'Parent',h1,... 'Units','characters',... 'BackgroundColor',[0.9 0.9 0.9],... 'Callback','wavexpogui(''p4_Callback'',gcbo,[],guidata(gcbo))',... 'ListboxTop',0,... 'Max',180,... 'Min',-180,... 'Position',[119.989451476793 21.043303121853 43.1962025316456 1.0686052366566],... 'String',{ '' },... 'Style','slider',... 'CreateFcn','wavexpogui(''p4_CreateFcn'',gcbo,[],guidata(gcbo))',... 'Tag','p4'); h54 = uicontrol(... 'Parent',h1,... 'Units','characters',... 'BackgroundColor',[0.9 0.9 0.9],... 'Callback','wavexpogui(''p5_Callback'',gcbo,[],guidata(gcbo))',... 'ListboxTop',0,... 'Max',180,... 'Min',-180,... 'Position',[119.989451476793 19.2348942598187 43.1962025316456 1.0686052366566],... 'String',{ '' },... 'Style','slider',... 'CreateFcn','wavexpogui(''p5_CreateFcn'',gcbo,[],guidata(gcbo))',... 'Tag','p5'); h55 = uicontrol(... 'Parent',h1,... 'Units','characters',... 'BackgroundColor',[0.9 0.9 0.9],... 'Callback','wavexpogui(''p6_Callback'',gcbo,[],guidata(gcbo))',... 'ListboxTop',0,... 'Max',180,... 'Min',-180,... 'Position',[119.989451476793 17.4264853977845 43.1962025316456 1.0686052366566],... 'String',{ '' },... 'Style','slider',... 'CreateFcn','wavexpogui(''p6_CreateFcn'',gcbo,[],guidata(gcbo))',... 'Tag','p6'); h56 = uicontrol(... 'Parent',h1,... 'Units','characters',... 'BackgroundColor',[0.9 0.9 0.9],... 'Callback','wavexpogui(''p7_Callback'',gcbo,[],guidata(gcbo))',... 'ListboxTop',0,... 'Max',180,... 'Min',-180,... 'Position',[119.989451476793 15.70027693857 43.1962025316456 1.0686052366566],... 'String',{ '' },... 'Style','slider',... 'CreateFcn','wavexpogui(''p7_CreateFcn'',gcbo,[],guidata(gcbo))',... 'Tag','p7'); h57 = uicontrol(... 'Parent',h1,... 'Units','characters',... 'BackgroundColor',[0.5 0.701960784313725 0.701960784313725],... 'ListboxTop',0,... 'Max',3.1415,... 'Min',-3.1415,... 'Position',[118.697257383966 0.739803625377643 7.01476793248945 1.23300604229607],... 'String','-180',... 'Style','text',... 'Tag','text88'); h58 = uicontrol(... 'Parent',h1,... 'Units','characters',... 'BackgroundColor',[0.5 0.701960784313725 0.701960784313725],... 'ListboxTop',0,... 'Position',[157.463080168776 0.822004028197382 9.59915611814346 1.0686052366566],... 'String','180',... 'Style','text',... 'Tag','text89'); h59 = uicontrol(... 'Parent',h1,... 'Units','characters',... 'BackgroundColor',[0.5 0.701960784313725 0.701960784313725],... 'FontSize',12,... 'FontWeight','bold',... 'ListboxTop',0,... 'Position',[135 30.1538461538462 18.6 1.46153846153846],... 'String','Phases',... 'Style','text',... 'Tag','text90'); h60 = uicontrol(... 'Parent',h1,... 'Units','characters',... 'Callback','wavexpogui(''p0t_Callback'',gcbo,[],guidata(gcbo))',... 'ListboxTop',0,... 'Position',[164.10864978903 28.5235397784491 8.30696202531646 1.56180765357503],... 'String',{ 'Edit Text' },... 'Style','edit',... 'CreateFcn','wavexpogui(''p0t_CreateFcn'',gcbo,[],guidata(gcbo))',... 'Tag','p0t'); h61 = uicontrol(... 'Parent',h1,... 'Units','characters',... 'Callback','wavexpogui(''p1t_Callback'',gcbo,[],guidata(gcbo))',... 'ListboxTop',0,... 'Position',[164.10864978903 26.7151309164149 8.30696202531646 1.56180765357503],... 'String',{ 'Edit Text' },... 'Style','edit',... 'CreateFcn','wavexpogui(''p1t_CreateFcn'',gcbo,[],guidata(gcbo))',... 'Tag','p1t'); h62 = uicontrol(... 'Parent',h1,... 'Units','characters',... 'Callback','wavexpogui(''p2t_Callback'',gcbo,[],guidata(gcbo))',... 'ListboxTop',0,... 'Position',[164.10864978903 24.9067220543807 8.30696202531646 1.56180765357503],... 'String',{ 'Edit Text' },... 'Style','edit',... 'CreateFcn','wavexpogui(''p2t_CreateFcn'',gcbo,[],guidata(gcbo))',... 'Tag','p2t'); h63 = uicontrol(... 'Parent',h1,... 'Units','characters',... 'Callback','wavexpogui(''p3t_Callback'',gcbo,[],guidata(gcbo))',... 'ListboxTop',0,... 'Position',[164.10864978903 22.933912386707 8.30696202531646 1.56180765357503],... 'String',{ 'Edit Text' },... 'Style','edit',... 'CreateFcn','wavexpogui(''p3t_CreateFcn'',gcbo,[],guidata(gcbo))',... 'Tag','p3t'); h64 = uicontrol(... 'Parent',h1,... 'Units','characters',... 'Callback','wavexpogui(''p4t_Callback'',gcbo,[],guidata(gcbo))',... 'ListboxTop',0,... 'Position',[164.10864978903 20.9611027190332 8.30696202531646 1.56180765357503],... 'String',{ 'Edit Text' },... 'Style','edit',... 'CreateFcn','wavexpogui(''p4t_CreateFcn'',gcbo,[],guidata(gcbo))',... 'Tag','p4t'); h65 = uicontrol(... 'Parent',h1,... 'Units','characters',... 'Callback','wavexpogui(''p5t_Callback'',gcbo,[],guidata(gcbo))',... 'ListboxTop',0,... 'Position',[164.10864978903 19.0704934541792 8.30696202531646 1.56180765357503],... 'String',{ 'Edit Text' },... 'Style','edit',... 'CreateFcn','wavexpogui(''p5t_CreateFcn'',gcbo,[],guidata(gcbo))',... 'Tag','p5t'); h66 = uicontrol(... 'Parent',h1,... 'Units','characters',... 'Callback','wavexpogui(''p6t_Callback'',gcbo,[],guidata(gcbo))',... 'ListboxTop',0,... 'Position',[164.10864978903 17.262084592145 8.30696202531646 1.56180765357503],... 'String',{ 'Edit Text' },... 'Style','edit',... 'CreateFcn','wavexpogui(''p6t_CreateFcn'',gcbo,[],guidata(gcbo))',... 'Tag','p6t'); h67 = uicontrol(... 'Parent',h1,... 'Units','characters',... 'Callback','wavexpogui(''p7t_Callback'',gcbo,[],guidata(gcbo))',... 'ListboxTop',0,... 'Position',[164.10864978903 15.4536757301108 8.30696202531646 1.56180765357503],... 'String',{ 'Edit Text' },... 'Style','edit',... 'CreateFcn','wavexpogui(''p7t_CreateFcn'',gcbo,[],guidata(gcbo))',... 'Tag','p7t'); h68 = uicontrol(... 'Parent',h1,... 'Units','characters',... 'BackgroundColor',[0.9 0.9 0.9],... 'Callback','wavexpogui(''p0_Callback'',gcbo,[],guidata(gcbo))',... 'ListboxTop',0,... 'Max',180,... 'Min',-180,... 'Position',[119.989451476793 28.7701409869084 43.1962025316456 1.0686052366566],... 'String',{ '' },... 'Style','slider',... 'CreateFcn','wavexpogui(''p0_CreateFcn'',gcbo,[],guidata(gcbo))',... 'Tag','p0'); h69 = uicontrol(... 'Parent',h1,... 'Units','characters',... 'Callback','wavexpogui(''play_Callback'',gcbo,[],guidata(gcbo))',... 'ListboxTop',0,... 'Position',[1.2 35.6923076923077 11.8 1.46153846153846],... 'String','Play',... 'Tag','play'); h70 = uicontrol(... 'Parent',h1,... 'Units','characters',... 'BackgroundColor',[0.9 0.9 0.9],... 'Callback','wavexpogui(''f8_Callback'',gcbo,[],guidata(gcbo))',... 'Max',14.45,... 'Min',4.3,... 'Position',[6.83016877637131 13.6452668680765 43.1962025316456 1.0686052366566],... 'String',{ '' },... 'Style','slider',... 'CreateFcn','wavexpogui(''f8_CreateFcn'',gcbo,[],guidata(gcbo))',... 'Tag','f8'); h71 = uicontrol(... 'Parent',h1,... 'Units','characters',... 'Callback','wavexpogui(''f8t_Callback'',gcbo,[],guidata(gcbo))',... 'ListboxTop',0,... 'Position',[51.1339662447257 13.4808660624371 8.30696202531646 1.56180765357503],... 'String',{ 'Edit Text' },... 'Style','edit',... 'CreateFcn','wavexpogui(''f8t_CreateFcn'',gcbo,[],guidata(gcbo))',... 'Tag','f8t'); h72 = uicontrol(... 'Parent',h1,... 'Units','characters',... 'BackgroundColor',[0.9 0.9 0.9],... 'Callback','wavexpogui(''f9_Callback'',gcbo,[],guidata(gcbo))',... 'Max',14.45,... 'Min',4.3,... 'Position',[6.83016877637131 11.7546576032226 43.1962025316456 1.0686052366566],... 'String',{ '' },... 'Style','slider',... 'CreateFcn','wavexpogui(''f9_CreateFcn'',gcbo,[],guidata(gcbo))',... 'Tag','f9'); h73 = uicontrol(... 'Parent',h1,... 'Units','characters',... 'Callback','wavexpogui(''f9t_Callback'',gcbo,[],guidata(gcbo))',... 'ListboxTop',0,... 'Position',[51.1339662447257 11.5902567975831 8.30696202531646 1.56180765357503],... 'String',{ 'Edit Text' },... 'Style','edit',... 'CreateFcn','wavexpogui(''f9t_CreateFcn'',gcbo,[],guidata(gcbo))',... 'Tag','f9t'); h74 = uicontrol(... 'Parent',h1,... 'Units','characters',... 'BackgroundColor',[0.9 0.9 0.9],... 'Callback','wavexpogui(''f10_Callback'',gcbo,[],guidata(gcbo))',... 'Max',14.45,... 'Min',4.3,... 'Position',[6.83016877637131 9.86404833836858 43.1962025316456 1.0686052366566],... 'String',{ '' },... 'Style','slider',... 'CreateFcn','wavexpogui(''f10_CreateFcn'',gcbo,[],guidata(gcbo))',... 'Tag','f10'); h75 = uicontrol(... 'Parent',h1,... 'Units','characters',... 'Callback','wavexpogui(''f10t_Callback'',gcbo,[],guidata(gcbo))',... 'ListboxTop',0,... 'Position',[51.1339662447257 9.69964753272911 8.30696202531646 1.56180765357503],... 'String',{ 'Edit Text' },... 'Style','edit',... 'CreateFcn','wavexpogui(''f10t_CreateFcn'',gcbo,[],guidata(gcbo))',... 'Tag','f10t'); h76 = uicontrol(... 'Parent',h1,... 'Units','characters',... 'BackgroundColor',[0.9 0.9 0.9],... 'Callback','wavexpogui(''f11_Callback'',gcbo,[],guidata(gcbo))',... 'Max',14.45,... 'Min',4.3,... 'Position',[6.83016877637131 7.89123867069486 43.1962025316456 1.0686052366566],... 'String',{ '' },... 'Style','slider',... 'CreateFcn','wavexpogui(''f11_CreateFcn'',gcbo,[],guidata(gcbo))',... 'Tag','f11'); h77 = uicontrol(... 'Parent',h1,... 'Units','characters',... 'Callback','wavexpogui(''f11t_Callback'',gcbo,[],guidata(gcbo))',... 'ListboxTop',0,... 'Position',[51.1339662447257 7.80903826787513 8.30696202531646 1.56180765357503],... 'String',{ 'Edit Text' },... 'Style','edit',... 'CreateFcn','wavexpogui(''f11t_CreateFcn'',gcbo,[],guidata(gcbo))',... 'Tag','f11t'); h78 = uicontrol(... 'Parent',h1,... 'Units','characters',... 'BackgroundColor',[0.9 0.9 0.9],... 'Callback','wavexpogui(''f12_Callback'',gcbo,[],guidata(gcbo))',... 'Max',14.45,... 'Min',4.3,... 'Position',[6.83016877637131 6.08282980866063 43.1962025316456 1.0686052366566],... 'String',{ '' },... 'Style','slider',... 'CreateFcn','wavexpogui(''f12_CreateFcn'',gcbo,[],guidata(gcbo))',... 'Tag','f12'); h79 = uicontrol(... 'Parent',h1,... 'Units','characters',... 'Callback','wavexpogui(''f12t_Callback'',gcbo,[],guidata(gcbo))',... 'ListboxTop',0,... 'Position',[51.1339662447257 5.91842900302115 8.30696202531646 1.56180765357503],... 'String',{ 'Edit Text' },... 'Style','edit',... 'CreateFcn','wavexpogui(''f12t_CreateFcn'',gcbo,[],guidata(gcbo))',... 'Tag','f12t'); h80 = uicontrol(... 'Parent',h1,... 'Units','characters',... 'BackgroundColor',[0.9 0.9 0.9],... 'Callback','wavexpogui(''f13_Callback'',gcbo,[],guidata(gcbo))',... 'Max',14.45,... 'Min',4.3,... 'Position',[6.83016877637131 4.35662134944612 43.1962025316456 1.0686052366566],... 'String',{ '' },... 'Style','slider',... 'CreateFcn','wavexpogui(''f13_CreateFcn'',gcbo,[],guidata(gcbo))',... 'Tag','f13'); h81 = uicontrol(... 'Parent',h1,... 'Units','characters',... 'Callback','wavexpogui(''f13t_Callback'',gcbo,[],guidata(gcbo))',... 'ListboxTop',0,... 'Position',[51.1339662447257 4.11002014098691 8.30696202531646 1.56180765357503],... 'String',{ 'Edit Text' },... 'Style','edit',... 'CreateFcn','wavexpogui(''f13t_CreateFcn'',gcbo,[],guidata(gcbo))',... 'Tag','f13t'); h82 = uicontrol(... 'Parent',h1,... 'Units','characters',... 'BackgroundColor',[0.9 0.9 0.9],... 'Callback','wavexpogui(''f14_Callback'',gcbo,[],guidata(gcbo))',... 'Max',14.45,... 'Min',4.3,... 'Position',[6.83016877637131 2.38381168177241 43.1962025316456 1.0686052366566],... 'String',{ '' },... 'Style','slider',... 'CreateFcn','wavexpogui(''f14_CreateFcn'',gcbo,[],guidata(gcbo))',... 'Tag','f14'); h83 = uicontrol(... 'Parent',h1,... 'Units','characters',... 'Callback','wavexpogui(''f14t_Callback'',gcbo,[],guidata(gcbo))',... 'ListboxTop',0,... 'Position',[51.1339662447257 2.13721047331319 8.30696202531646 1.56180765357503],... 'String',{ 'Edit Text' },... 'Style','edit',... 'CreateFcn','wavexpogui(''f14t_CreateFcn'',gcbo,[],guidata(gcbo))',... 'Tag','f14t'); h84 = uicontrol(... 'Parent',h1,... 'Units','characters',... 'BackgroundColor',[0.9 0.9 0.9],... 'Callback','wavexpogui(''a8_Callback'',gcbo,[],guidata(gcbo))',... 'ListboxTop',0,... 'Position',[63.6867088607595 13.809667673716 43.1962025316456 1.0686052366566],... 'String',{ '' },... 'Style','slider',... 'CreateFcn','wavexpogui(''a8_CreateFcn'',gcbo,[],guidata(gcbo))',... 'Tag','a8'); h85 = uicontrol(... 'Parent',h1,... 'Units','characters',... 'Callback','wavexpogui(''a8t_Callback'',gcbo,[],guidata(gcbo))',... 'ListboxTop',0,... 'Position',[107.990506329114 13.5630664652568 8.30696202531646 1.56180765357503],... 'String',{ 'Edit Text' },... 'Style','edit',... 'CreateFcn','wavexpogui(''a8t_CreateFcn'',gcbo,[],guidata(gcbo))',... 'Tag','a8t'); h86 = uicontrol(... 'Parent',h1,... 'Units','characters',... 'BackgroundColor',[0.9 0.9 0.9],... 'Callback','wavexpogui(''a9_Callback'',gcbo,[],guidata(gcbo))',... 'ListboxTop',0,... 'Position',[63.6867088607595 11.919058408862 43.1962025316456 1.0686052366566],... 'String',{ '' },... 'Style','slider',... 'CreateFcn','wavexpogui(''a9_CreateFcn'',gcbo,[],guidata(gcbo))',... 'Tag','a9'); h87 = uicontrol(... 'Parent',h1,... 'Units','characters',... 'Callback','wavexpogui(''a9t_Callback'',gcbo,[],guidata(gcbo))',... 'ListboxTop',0,... 'Position',[107.990506329114 11.7546576032226 8.30696202531646 1.56180765357503],... 'String',{ 'Edit Text' },... 'Style','edit',... 'CreateFcn','wavexpogui(''a9t_CreateFcn'',gcbo,[],guidata(gcbo))',... 'Tag','a9t'); h88 = uicontrol(... 'Parent',h1,... 'Units','characters',... 'BackgroundColor',[0.9 0.9 0.9],... 'Callback','wavexpogui(''a10_Callback'',gcbo,[],guidata(gcbo))',... 'ListboxTop',0,... 'Position',[63.6867088607595 10.0284491440081 43.1962025316456 1.0686052366566],... 'String',{ '' },... 'Style','slider',... 'CreateFcn','wavexpogui(''a10_CreateFcn'',gcbo,[],guidata(gcbo))',... 'Tag','a10'); h89 = uicontrol(... 'Parent',h1,... 'Units','characters',... 'Callback','wavexpogui(''a10t_Callback'',gcbo,[],guidata(gcbo))',... 'ListboxTop',0,... 'Position',[107.990506329114 9.86404833836858 8.30696202531646 1.56180765357503],... 'String',{ 'Edit Text' },... 'Style','edit',... 'CreateFcn','wavexpogui(''a10t_CreateFcn'',gcbo,[],guidata(gcbo))',... 'Tag','a10t'); h90 = uicontrol(... 'Parent',h1,... 'Units','characters',... 'BackgroundColor',[0.9 0.9 0.9],... 'Callback','wavexpogui(''a11_Callback'',gcbo,[],guidata(gcbo))',... 'ListboxTop',0,... 'Position',[63.6867088607595 8.05563947633434 43.1962025316456 1.0686052366566],... 'String',{ '' },... 'Style','slider',... 'CreateFcn','wavexpogui(''a11_CreateFcn'',gcbo,[],guidata(gcbo))',... 'Tag','a11'); h91 = uicontrol(... 'Parent',h1,... 'Units','characters',... 'Callback','wavexpogui(''a11t_Callback'',gcbo,[],guidata(gcbo))',... 'ListboxTop',0,... 'Position',[107.990506329114 8.05563947633434 8.30696202531646 1.56180765357503],... 'String',{ 'Edit Text' },... 'Style','edit',... 'CreateFcn','wavexpogui(''a11t_CreateFcn'',gcbo,[],guidata(gcbo))',... 'Tag','a11t'); h92 = uicontrol(... 'Parent',h1,... 'Units','characters',... 'BackgroundColor',[0.9 0.9 0.9],... 'Callback','wavexpogui(''a12_Callback'',gcbo,[],guidata(gcbo))',... 'ListboxTop',0,... 'Position',[63.6867088607595 6.32943101711984 43.1962025316456 1.0686052366566],... 'String',{ '' },... 'Style','slider',... 'CreateFcn','wavexpogui(''a12_CreateFcn'',gcbo,[],guidata(gcbo))',... 'Tag','a12'); h93 = uicontrol(... 'Parent',h1,... 'Units','characters',... 'Callback','wavexpogui(''a12t_Callback'',gcbo,[],guidata(gcbo))',... 'ListboxTop',0,... 'Position',[107.990506329114 6.08282980866063 8.30696202531646 1.56180765357503],... 'String',{ 'Edit Text' },... 'Style','edit',... 'CreateFcn','wavexpogui(''a12t_CreateFcn'',gcbo,[],guidata(gcbo))',... 'Tag','a12t'); h94 = uicontrol(... 'Parent',h1,... 'Units','characters',... 'BackgroundColor',[0.9 0.9 0.9],... 'Callback','wavexpogui(''a13_Callback'',gcbo,[],guidata(gcbo))',... 'ListboxTop',0,... 'Position',[63.6867088607595 4.43882175226586 43.1962025316456 1.0686052366566],... 'String',{ '' },... 'Style','slider',... 'CreateFcn','wavexpogui(''a13_CreateFcn'',gcbo,[],guidata(gcbo))',... 'Tag','a13'); h95 = uicontrol(... 'Parent',h1,... 'Units','characters',... 'Callback','wavexpogui(''a13t_Callback'',gcbo,[],guidata(gcbo))',... 'ListboxTop',0,... 'Position',[107.990506329114 4.19222054380665 8.30696202531646 1.56180765357503],... 'String',{ 'Edit Text' },... 'Style','edit',... 'CreateFcn','wavexpogui(''a13t_CreateFcn'',gcbo,[],guidata(gcbo))',... 'Tag','a13t'); h96 = uicontrol(... 'Parent',h1,... 'Units','characters',... 'BackgroundColor',[0.9 0.9 0.9],... 'Callback','wavexpogui(''a14_Callback'',gcbo,[],guidata(gcbo))',... 'ListboxTop',0,... 'Position',[63.6867088607595 2.54821248741188 43.1962025316456 1.0686052366566],... 'String',{ '' },... 'Style','slider',... 'CreateFcn','wavexpogui(''a14_CreateFcn'',gcbo,[],guidata(gcbo))',... 'Tag','a14'); h97 = uicontrol(... 'Parent',h1,... 'Units','characters',... 'Callback','wavexpogui(''a14t_Callback'',gcbo,[],guidata(gcbo))',... 'ListboxTop',0,... 'Position',[107.990506329114 2.46601208459214 8.30696202531646 1.56180765357503],... 'String',{ 'Edit Text' },... 'Style','edit',... 'CreateFcn','wavexpogui(''a14t_CreateFcn'',gcbo,[],guidata(gcbo))',... 'Tag','a14t'); h98 = uicontrol(... 'Parent',h1,... 'Units','characters',... 'BackgroundColor',[0.9 0.9 0.9],... 'Callback','wavexpogui(''p8_Callback'',gcbo,[],guidata(gcbo))',... 'ListboxTop',0,... 'Max',180,... 'Min',-180,... 'Position',[119.989451476793 13.7274672708963 43.1962025316456 1.0686052366566],... 'String',{ '' },... 'Style','slider',... 'CreateFcn','wavexpogui(''p8_CreateFcn'',gcbo,[],guidata(gcbo))',... 'Tag','p8'); h99 = uicontrol(... 'Parent',h1,... 'Units','characters',... 'BackgroundColor',[0.9 0.9 0.9],... 'Callback','wavexpogui(''p9_Callback'',gcbo,[],guidata(gcbo))',... 'ListboxTop',0,... 'Max',180,... 'Min',-180,... 'Position',[119.989451476793 11.8368580060423 43.1962025316456 1.0686052366566],... 'String',{ '' },... 'Style','slider',... 'CreateFcn','wavexpogui(''p9_CreateFcn'',gcbo,[],guidata(gcbo))',... 'Tag','p9'); h100 = uicontrol(... 'Parent',h1,... 'Units','characters',... 'BackgroundColor',[0.9 0.9 0.9],... 'Callback','wavexpogui(''p10_Callback'',gcbo,[],guidata(gcbo))',... 'ListboxTop',0,... 'Max',180,... 'Min',-180,... 'Position',[119.989451476793 9.86404833836858 43.1962025316456 1.0686052366566],... 'String',{ '' },... 'Style','slider',... 'CreateFcn','wavexpogui(''p10_CreateFcn'',gcbo,[],guidata(gcbo))',... 'Tag','p10'); h101 = uicontrol(... 'Parent',h1,... 'Units','characters',... 'BackgroundColor',[0.9 0.9 0.9],... 'Callback','wavexpogui(''p11_Callback'',gcbo,[],guidata(gcbo))',... 'ListboxTop',0,... 'Max',180,... 'Min',-180,... 'Position',[119.989451476793 7.72683786505539 43.1962025316456 1.0686052366566],... 'String',{ '' },... 'Style','slider',... 'CreateFcn','wavexpogui(''p11_CreateFcn'',gcbo,[],guidata(gcbo))',... 'Tag','p11'); h102 = uicontrol(... 'Parent',h1,... 'Units','characters',... 'BackgroundColor',[0.9 0.9 0.9],... 'Callback','wavexpogui(''p12_Callback'',gcbo,[],guidata(gcbo))',... 'ListboxTop',0,... 'Max',180,... 'Min',-180,... 'Position',[119.989451476793 6.08282980866063 43.1962025316456 1.0686052366566],... 'String',{ '' },... 'Style','slider',... 'CreateFcn','wavexpogui(''p12_CreateFcn'',gcbo,[],guidata(gcbo))',... 'Tag','p12'); h103 = uicontrol(... 'Parent',h1,... 'Units','characters',... 'BackgroundColor',[0.9 0.9 0.9],... 'Callback','wavexpogui(''p13_Callback'',gcbo,[],guidata(gcbo))',... 'ListboxTop',0,... 'Max',180,... 'Min',-180,... 'Position',[119.989451476793 4.19222054380665 43.1962025316456 1.0686052366566],... 'String',{ '' },... 'Style','slider',... 'CreateFcn','wavexpogui(''p13_CreateFcn'',gcbo,[],guidata(gcbo))',... 'Tag','p13'); h104 = uicontrol(... 'Parent',h1,... 'Units','characters',... 'BackgroundColor',[0.9 0.9 0.9],... 'Callback','wavexpogui(''p14_Callback'',gcbo,[],guidata(gcbo))',... 'ListboxTop',0,... 'Max',180,... 'Min',-180,... 'Position',[119.989451476793 2.54821248741188 43.1962025316456 1.0686052366566],... 'String',{ '' },... 'Style','slider',... 'CreateFcn','wavexpogui(''p14_CreateFcn'',gcbo,[],guidata(gcbo))',... 'Tag','p14'); h105 = uicontrol(... 'Parent',h1,... 'Units','characters',... 'Callback','wavexpogui(''p8t_Callback'',gcbo,[],guidata(gcbo))',... 'ListboxTop',0,... 'Position',[164.10864978903 13.5630664652568 8.30696202531646 1.56180765357503],... 'String',{ 'Edit Text' },... 'Style','edit',... 'CreateFcn','wavexpogui(''p8t_CreateFcn'',gcbo,[],guidata(gcbo))',... 'Tag','p8t'); h106 = uicontrol(... 'Parent',h1,... 'Units','characters',... 'Callback','wavexpogui(''p9t_Callback'',gcbo,[],guidata(gcbo))',... 'ListboxTop',0,... 'Position',[164.10864978903 11.7546576032226 8.30696202531646 1.56180765357503],... 'String',{ 'Edit Text' },... 'Style','edit',... 'CreateFcn','wavexpogui(''p9t_CreateFcn'',gcbo,[],guidata(gcbo))',... 'Tag','p9t'); h107 = uicontrol(... 'Parent',h1,... 'Units','characters',... 'Callback','wavexpogui(''p10t_Callback'',gcbo,[],guidata(gcbo))',... 'ListboxTop',0,... 'Position',[164.10864978903 9.78184793554884 8.30696202531646 1.56180765357503],... 'String',{ 'Edit Text' },... 'Style','edit',... 'CreateFcn','wavexpogui(''p10t_CreateFcn'',gcbo,[],guidata(gcbo))',... 'Tag','p10t'); h108 = uicontrol(... 'Parent',h1,... 'Units','characters',... 'Callback','wavexpogui(''p11t_Callback'',gcbo,[],guidata(gcbo))',... 'ListboxTop',0,... 'Position',[164.10864978903 7.72683786505539 8.30696202531646 1.56180765357503],... 'String',{ 'Edit Text' },... 'Style','edit',... 'CreateFcn','wavexpogui(''p11t_CreateFcn'',gcbo,[],guidata(gcbo))',... 'Tag','p11t'); h109 = uicontrol(... 'Parent',h1,... 'Units','characters',... 'Callback','wavexpogui(''p12t_Callback'',gcbo,[],guidata(gcbo))',... 'ListboxTop',0,... 'Position',[164.10864978903 5.83622860020141 8.30696202531646 1.56180765357503],... 'String',{ 'Edit Text' },... 'Style','edit',... 'CreateFcn','wavexpogui(''p12t_CreateFcn'',gcbo,[],guidata(gcbo))',... 'Tag','p12t'); h110 = uicontrol(... 'Parent',h1,... 'Units','characters',... 'Callback','wavexpogui(''p13t_Callback'',gcbo,[],guidata(gcbo))',... 'ListboxTop',0,... 'Position',[164.10864978903 4.11002014098691 8.30696202531646 1.56180765357503],... 'String',{ 'Edit Text' },... 'Style','edit',... 'CreateFcn','wavexpogui(''p13t_CreateFcn'',gcbo,[],guidata(gcbo))',... 'Tag','p13t'); h111 = uicontrol(... 'Parent',h1,... 'Units','characters',... 'Callback','wavexpogui(''p14t_Callback'',gcbo,[],guidata(gcbo))',... 'ListboxTop',0,... 'Position',[164.10864978903 2.30161127895267 8.30696202531646 1.56180765357503],... 'String',{ 'Edit Text' },... 'Style','edit',... 'CreateFcn','wavexpogui(''p14t_CreateFcn'',gcbo,[],guidata(gcbo))',... 'Tag','p14t'); h112 = uicontrol(... 'Parent',h1,... 'Units','characters',... 'BackgroundColor',[0.5 0.701960784313725 0.701960784313725],... 'ListboxTop',0,... 'Position',[2.03059071729958 28.8523413897281 3.87658227848101 1.0686052366566],... 'String','f0',... 'Style','text',... 'Tag','text2'); h113 = uicontrol(... 'Parent',h1,... 'Units','characters',... 'BackgroundColor',[0.5 0.701960784313725 0.701960784313725],... 'ListboxTop',0,... 'Position',[2.03059071729958 26.9617321248741 3.87658227848101 1.0686052366566],... 'String','f1',... 'Style','text',... 'Tag','text3'); h114 = uicontrol(... 'Parent',h1,... 'Units','characters',... 'BackgroundColor',[0.5 0.701960784313725 0.701960784313725],... 'ListboxTop',0,... 'Position',[2.03059071729958 25.0711228600201 3.87658227848101 1.0686052366566],... 'String','f2',... 'Style','text',... 'Tag','text5'); h115 = uicontrol(... 'Parent',h1,... 'Units','characters',... 'BackgroundColor',[0.5 0.701960784313725 0.701960784313725],... 'ListboxTop',0,... 'Position',[2.03059071729958 23.1805135951662 3.87658227848101 1.0686052366566],... 'String','f3',... 'Style','text',... 'Tag','text6'); h116 = uicontrol(... 'Parent',h1,... 'Units','characters',... 'BackgroundColor',[0.5 0.701960784313725 0.701960784313725],... 'ListboxTop',0,... 'Position',[2.03059071729958 21.2899043303122 3.87658227848101 1.0686052366566],... 'String','f4',... 'Style','text',... 'Tag','text7'); h117 = uicontrol(... 'Parent',h1,... 'Units','characters',... 'BackgroundColor',[0.5 0.701960784313725 0.701960784313725],... 'ListboxTop',0,... 'Position',[2.03059071729958 19.4814954682779 3.87658227848101 1.0686052366566],... 'String','f5',... 'Style','text',... 'Tag','text8'); h118 = uicontrol(... 'Parent',h1,... 'Units','characters',... 'BackgroundColor',[0.5 0.701960784313725 0.701960784313725],... 'ListboxTop',0,... 'Position',[2.03059071729958 17.590886203424 3.87658227848101 1.0686052366566],... 'String','f6',... 'Style','text',... 'Tag','text9'); h119 = uicontrol(... 'Parent',h1,... 'Units','characters',... 'BackgroundColor',[0.5 0.701960784313725 0.701960784313725],... 'ListboxTop',0,... 'Position',[2.03059071729958 15.7824773413897 3.87658227848101 1.0686052366566],... 'String','f7',... 'Style','text',... 'Tag','text10'); h120 = uicontrol(... 'Parent',h1,... 'Units','characters',... 'BackgroundColor',[0.5 0.701960784313725 0.701960784313725],... 'ListboxTop',0,... 'Position',[2.03059071729958 13.7274672708963 3.87658227848101 1.0686052366566],... 'String','f8',... 'Style','text',... 'Tag','text92'); h121 = uicontrol(... 'Parent',h1,... 'Units','characters',... 'BackgroundColor',[0.5 0.701960784313725 0.701960784313725],... 'ListboxTop',0,... 'Position',[2.03059071729958 11.8368580060423 3.87658227848101 1.0686052366566],... 'String','f9',... 'Style','text',... 'Tag','text93'); h122 = uicontrol(... 'Parent',h1,... 'Units','characters',... 'BackgroundColor',[0.5 0.701960784313725 0.701960784313725],... 'ListboxTop',0,... 'Position',[1.66139240506329 9.94624874118832 5.53797468354431 1.0686052366566],... 'String','f10',... 'Style','text',... 'Tag','text94'); h123 = uicontrol(... 'Parent',h1,... 'Units','characters',... 'BackgroundColor',[0.5 0.701960784313725 0.701960784313725],... 'ListboxTop',0,... 'Position',[1.66139240506329 8.05563947633434 5.53797468354431 1.0686052366566],... 'String','f11',... 'Style','text',... 'Tag','text95'); h124 = uicontrol(... 'Parent',h1,... 'Units','characters',... 'BackgroundColor',[0.5 0.701960784313725 0.701960784313725],... 'ListboxTop',0,... 'Position',[1.66139240506329 6.16503021148036 5.53797468354431 1.0686052366566],... 'String','f12',... 'Style','text',... 'Tag','text96'); h125 = uicontrol(... 'Parent',h1,... 'Units','characters',... 'BackgroundColor',[0.5 0.701960784313725 0.701960784313725],... 'ListboxTop',0,... 'Position',[1.66139240506329 4.35662134944612 5.53797468354431 1.0686052366566],... 'String','f13',... 'Style','text',... 'Tag','text97'); h126 = uicontrol(... 'Parent',h1,... 'Units','characters',... 'BackgroundColor',[0.5 0.701960784313725 0.701960784313725],... 'ListboxTop',0,... 'Position',[1.66139240506329 2.46601208459214 5.53797468354431 1.0686052366566],... 'String','f14',... 'Style','text',... 'Tag','text98'); h127 = uicontrol(... 'Parent',h1,... 'Units','characters',... 'BackgroundColor',[0.5 0.701960784313725 0.701960784313725],... 'ListboxTop',0,... 'Max',3.1415,... 'Min',-3.1415,... 'Position',[138.080168776371 0.739803625377643 8.12236286919831 1.23300604229607],... 'String','Degrees',... 'Style','text',... 'Tag','text100'); h128 = uicontrol(... 'Parent',h1,... 'Units','characters',... 'HorizontalAlignment','left',... 'ListboxTop',0,... 'Position',[1.33333333333333 46.2323000382702 42.1666666666667 1.16622018114555],... 'String','by Bob L. Sturm and Dr. Jerry Gibson',... 'Style','text',... 'Tag','text102'); h129 = uicontrol(... 'Parent',h1,... 'Units','characters',... 'FontSize',12,... 'HorizontalAlignment','left',... 'ListboxTop',0,... 'Position',[1.33333333333333 39.7347876004592 16.3333333333333 1.58272738869754],... 'String','Waveform',... 'Style','text',... 'Tag','text103'); h130 = uimenu(... 'Parent',h1,... 'Callback','wavexpogui(''Untitled_2_Callback'',gcbo,[],guidata(gcbo))',... 'Label','File',... 'Tag','Untitled_2'); h131 = uimenu(... 'Parent',h130,... 'Callback','wavexpogui(''write_Callback'',gcbo,[],guidata(gcbo))',... 'Label','Write',... 'Tag','write'); h132 = uicontrol(... 'Parent',h1,... 'Units','characters',... 'Callback','wavexpogui(''randomize_Callback'',gcbo,[],guidata(gcbo))',... 'ListboxTop',0,... 'Position',[160.4 30.2307692307692 12 1.46153846153846],... 'String','Randomize',... 'Tag','randomize'); h133 = uimenu(... 'Parent',h1,... 'Callback','wavexpogui(''Untitled_1_Callback'',gcbo,[],guidata(gcbo))',... 'Label','Send to...',... 'Tag','Untitled_1'); h134 = uimenu(... 'Parent',h133,... 'Callback','wavexpogui(''fourier_Callback'',gcbo,[],guidata(gcbo))',... 'Label','Fourier',... 'Tag','fourier'); h135 = uimenu(... 'Parent',h133,... 'Callback','wavexpogui(''sonogram_Callback'',gcbo,[],guidata(gcbo))',... 'Label','Sonogram',... 'Tag','sonogram'); h136 = uimenu(... 'Parent',h133,... 'Callback','wavexpogui(''alias_Callback'',gcbo,[],guidata(gcbo))',... 'Label','Aliasing Explorer',... 'Tag','alias'); h137 = uimenu(... 'Parent',h1,... 'Callback','wavexpogui(''help_Callback'',gcbo,[],guidata(gcbo))',... 'Label','Help',... 'Tag','help'); hsingleton = h1; % --- Handles default GUIDE GUI creation and callback dispatch function varargout = gui_mainfcn(gui_State, varargin) gui_StateFields = {'gui_Name' 'gui_Singleton' 'gui_OpeningFcn' 'gui_OutputFcn' 'gui_LayoutFcn' 'gui_Callback'}; gui_Mfile = ''; for i=1:length(gui_StateFields) if ~isfield(gui_State, gui_StateFields{i}) error('Could not find field %s in the gui_State struct in GUI M-file %s', gui_StateFields{i}, gui_Mfile); elseif isequal(gui_StateFields{i}, 'gui_Name') gui_Mfile = [getfield(gui_State, gui_StateFields{i}), '.m']; end end numargin = length(varargin); if numargin == 0 % WAVEXPOGUI % create the GUI gui_Create = 1; elseif numargin > 3 & ischar(varargin{1}) & ishandle(varargin{2}) % WAVEXPOGUI('CALLBACK',hObject,eventData,handles,...) gui_Create = 0; else % WAVEXPOGUI(...) % create the GUI and hand varargin to the openingfcn gui_Create = 1; end if gui_Create == 0 varargin{1} = gui_State.gui_Callback; if nargout [varargout{1:nargout}] = feval(varargin{:}); else feval(varargin{:}); end else if gui_State.gui_Singleton gui_SingletonOpt = 'reuse'; else gui_SingletonOpt = 'new'; end % Open fig file with stored settings. Note: This executes all component % specific CreateFunctions with an empty HANDLES structure. % Do feval on layout code in m-file if it exists if ~isempty(gui_State.gui_LayoutFcn) gui_hFigure = feval(gui_State.gui_LayoutFcn, gui_SingletonOpt); else gui_hFigure = local_openfig(gui_State.gui_Name, gui_SingletonOpt); % If the figure has InGUIInitialization it was not completely created % on the last pass. Delete this handle and try again. if isappdata(gui_hFigure, 'InGUIInitialization') delete(gui_hFigure); gui_hFigure = local_openfig(gui_State.gui_Name, gui_SingletonOpt); end end % Set flag to indicate starting GUI initialization setappdata(gui_hFigure,'InGUIInitialization',1); % Fetch GUIDE Application options gui_Options = getappdata(gui_hFigure,'GUIDEOptions'); if ~isappdata(gui_hFigure,'GUIOnScreen') % Adjust background color if gui_Options.syscolorfig set(gui_hFigure,'Color', get(0,'DefaultUicontrolBackgroundColor')); end % Generate HANDLES structure and store with GUIDATA guidata(gui_hFigure, guihandles(gui_hFigure)); end % If user specified 'Visible','off' in p/v pairs, don't make the figure % visible. gui_MakeVisible = 1; for ind=1:2:length(varargin) if length(varargin) == ind break; end len1 = min(length('visible'),length(varargin{ind})); len2 = min(length('off'),length(varargin{ind+1})); if ischar(varargin{ind}) & ischar(varargin{ind+1}) & ... strncmpi(varargin{ind},'visible',len1) & len2 > 1 if strncmpi(varargin{ind+1},'off',len2) gui_MakeVisible = 0; elseif strncmpi(varargin{ind+1},'on',len2) gui_MakeVisible = 1; end end end % Check for figure param value pairs for index=1:2:length(varargin) if length(varargin) == index break; end try, set(gui_hFigure, varargin{index}, varargin{index+1}), catch, break, end end % If handle visibility is set to 'callback', turn it on until finished % with OpeningFcn gui_HandleVisibility = get(gui_hFigure,'HandleVisibility'); if strcmp(gui_HandleVisibility, 'callback') set(gui_hFigure,'HandleVisibility', 'on'); end feval(gui_State.gui_OpeningFcn, gui_hFigure, [], guidata(gui_hFigure), varargin{:}); if ishandle(gui_hFigure) % Update handle visibility set(gui_hFigure,'HandleVisibility', gui_HandleVisibility); % Make figure visible if gui_MakeVisible set(gui_hFigure, 'Visible', 'on') if gui_Options.singleton setappdata(gui_hFigure,'GUIOnScreen', 1); end end % Done with GUI initialization rmappdata(gui_hFigure,'InGUIInitialization'); end % If handle visibility is set to 'callback', turn it on until finished with % OutputFcn if ishandle(gui_hFigure) gui_HandleVisibility = get(gui_hFigure,'HandleVisibility'); if strcmp(gui_HandleVisibility, 'callback') set(gui_hFigure,'HandleVisibility', 'on'); end gui_Handles = guidata(gui_hFigure); else gui_Handles = []; end if nargout [varargout{1:nargout}] = feval(gui_State.gui_OutputFcn, gui_hFigure, [], gui_Handles); else feval(gui_State.gui_OutputFcn, gui_hFigure, [], gui_Handles); end if ishandle(gui_hFigure) set(gui_hFigure,'HandleVisibility', gui_HandleVisibility); end end function gui_hFigure = local_openfig(name, singleton) try gui_hFigure = openfig(name, singleton, 'auto'); catch % OPENFIG did not accept 3rd input argument until R13, % toggle default figure visible to prevent the figure % from showing up too soon. gui_OldDefaultVisible = get(0,'defaultFigureVisible'); set(0,'defaultFigureVisible','off'); gui_hFigure = openfig(name, singleton); set(0,'defaultFigureVisible',gui_OldDefaultVisible); end