📄 reverbexpo.m
字号:
function varargout = reverbexpo(varargin)% REVERBEXPO M-file for reverbexpo.fig% REVERBEXPO, by itself, creates a new REVERBEXPO or raises the existing% singleton*.%% H = REVERBEXPO returns the handle to a new REVERBEXPO or the handle to% the existing singleton*.%% REVERBEXPO('CALLBACK',hObject,eventData,handles,...) calls the local% function named CALLBACK in REVERBEXPO.M with the given input arguments.%% REVERBEXPO('Property','Value',...) creates a new REVERBEXPO or raises the% existing singleton*. Starting from the left, property value pairs are% applied to the GUI before reverbexpo_OpeningFunction gets called. An% unrecognized property name or invalid value makes property application% stop. All inputs are passed to reverbexpo_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 reverbexpo% Last Modified by GUIDE v2.5 18-Nov-2004 10:10:30% Begin initialization code - DO NOT EDITgui_Singleton = 1;gui_State = struct('gui_Name', mfilename, ... 'gui_Singleton', gui_Singleton, ... 'gui_OpeningFcn', @reverbexpo_OpeningFcn, ... 'gui_OutputFcn', @reverbexpo_OutputFcn, ... 'gui_LayoutFcn', [] , ... 'gui_Callback', []);if nargin & isstr(varargin{1}) gui_State.gui_Callback = str2func(varargin{1});endif 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 reverbexpo is made visible.function reverbexpo_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 reverbexpo (see VARARGIN)% Choose default command line output for reverbexpohandles.output = hObject; guidata(hObject, handles); set(gcf,'UserData',handles); reverbexpofn; if (nargin > 3) datastruct = varargin{1}; reverbexpofn('readinput',datastruct); end% --- Outputs from this function are returned to the command line.function varargout = reverbexpo_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 structurevarargout{1} = handles.output;% --- Executes on button press in play.function play_Callback(hObject, eventdata, handles)% hObject handle to play (see GCBO)% eventdata reserved - to be defined in a future version of MATLAB% handles structure with handles and user data (see GUIDATA) reverbexpofn 'playsound';% --- Executes on button press in filter1.function filter1_Callback(hObject, eventdata, handles)% hObject handle to filter1 (see GCBO)% eventdata reserved - to be defined in a future version of MATLAB% handles structure with handles and user data (see GUIDATA)% Hint: get(hObject,'Value') returns toggle state of filter1 reverbexpofn 'update';% --- Executes during object creation, after setting all properties.function filter1_a_CreateFcn(hObject, eventdata, handles)% hObject handle to filter1_a (see GCBO)% eventdata reserved - to be defined in a future version of MATLAB% handles empty - handles not created until after all CreateFcns called% Hint: edit controls usually have a white background on Windows.% See ISPC and COMPUTER.if ispc set(hObject,'BackgroundColor','white');else set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));endfunction filter1_a_Callback(hObject, eventdata, handles)% hObject handle to filter1_a (see GCBO)% eventdata reserved - to be defined in a future version of MATLAB% handles structure with handles and user data (see GUIDATA)% Hints: get(hObject,'String') returns contents of filter1_a as text% str2double(get(hObject,'String')) returns contents of filter1_a as a double reverbexpofn 'update';% --- Executes during object creation, after setting all properties.function filter1_D_CreateFcn(hObject, eventdata, handles)% hObject handle to filter1_D (see GCBO)% eventdata reserved - to be defined in a future version of MATLAB% handles empty - handles not created until after all CreateFcns called% Hint: edit controls usually have a white background on Windows.% See ISPC and COMPUTER.if ispc set(hObject,'BackgroundColor','white');else set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));endfunction filter1_D_Callback(hObject, eventdata, handles)% hObject handle to filter1_D (see GCBO)% eventdata reserved - to be defined in a future version of MATLAB% handles structure with handles and user data (see GUIDATA)% Hints: get(hObject,'String') returns contents of filter1_D as text% str2double(get(hObject,'String')) returns contents of filter1_D as a double reverbexpofn 'update';% --- Executes on button press in filter2.function filter2_Callback(hObject, eventdata, handles)% hObject handle to filter2 (see GCBO)% eventdata reserved - to be defined in a future version of MATLAB% handles structure with handles and user data (see GUIDATA)% Hint: get(hObject,'Value') returns toggle state of filter2 reverbexpofn 'update';% --- Executes during object creation, after setting all properties.function filter2_a_CreateFcn(hObject, eventdata, handles)% hObject handle to filter2_a (see GCBO)% eventdata reserved - to be defined in a future version of MATLAB% handles empty - handles not created until after all CreateFcns called% Hint: edit controls usually have a white background on Windows.% See ISPC and COMPUTER.if ispc set(hObject,'BackgroundColor','white');else set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));endfunction filter2_a_Callback(hObject, eventdata, handles)% hObject handle to filter2_a (see GCBO)% eventdata reserved - to be defined in a future version of MATLAB% handles structure with handles and user data (see GUIDATA)% Hints: get(hObject,'String') returns contents of filter2_a as text% str2double(get(hObject,'String')) returns contents of filter2_a as a double reverbexpofn 'update';% --- Executes during object creation, after setting all properties.function filter2_D_CreateFcn(hObject, eventdata, handles)% hObject handle to filter2_D (see GCBO)% eventdata reserved - to be defined in a future version of MATLAB% handles empty - handles not created until after all CreateFcns called% Hint: edit controls usually have a white background on Windows.% See ISPC and COMPUTER.if ispc set(hObject,'BackgroundColor','white');else set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));endfunction filter2_D_Callback(hObject, eventdata, handles)% hObject handle to filter2_D (see GCBO)% eventdata reserved - to be defined in a future version of MATLAB% handles structure with handles and user data (see GUIDATA)% Hints: get(hObject,'String') returns contents of filter2_D as text% str2double(get(hObject,'String')) returns contents of filter2_D as a double reverbexpofn 'update';% --- Executes on button press in filter3.function filter3_Callback(hObject, eventdata, handles)% hObject handle to filter3 (see GCBO)% eventdata reserved - to be defined in a future version of MATLAB% handles structure with handles and user data (see GUIDATA)% Hint: get(hObject,'Value') returns toggle state of filter3 reverbexpofn 'update';% --- Executes during object creation, after setting all properties.function filter3_a_CreateFcn(hObject, eventdata, handles)% hObject handle to filter3_a (see GCBO)% eventdata reserved - to be defined in a future version of MATLAB% handles empty - handles not created until after all CreateFcns called% Hint: edit controls usually have a white background on Windows.% See ISPC and COMPUTER.if ispc set(hObject,'BackgroundColor','white');else set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));endfunction filter3_a_Callback(hObject, eventdata, handles)% hObject handle to filter3_a (see GCBO)% eventdata reserved - to be defined in a future version of MATLAB% handles structure with handles and user data (see GUIDATA)% Hints: get(hObject,'String') returns contents of filter3_a as text% str2double(get(hObject,'String')) returns contents of filter3_a as a double reverbexpofn 'update';% --- Executes during object creation, after setting all properties.function filter3_D_CreateFcn(hObject, eventdata, handles)% hObject handle to filter3_D (see GCBO)% eventdata reserved - to be defined in a future version of MATLAB% handles empty - handles not created until after all CreateFcns called% Hint: edit controls usually have a white background on Windows.% See ISPC and COMPUTER.if ispc set(hObject,'BackgroundColor','white');else set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));end
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -