📄 stochogui.m
字号:
% eventdata reserved - to be defined in a future version of MATLAB% handles structure with handles and user data (see GUIDATA)% --- Executes on button press in s1_plotfreq.function s1_plotfreq_Callback(hObject, eventdata, handles)% hObject handle to s1_plotfreq (see GCBO)% eventdata reserved - to be defined in a future version of MATLAB% handles structure with handles and user data (see GUIDATA)% --- Executes during object creation, after setting all properties.function s1_overlap_CreateFcn(hObject, eventdata, handles)% hObject handle to s1_overlap (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 s1_overlap_Callback(hObject, eventdata, handles)% hObject handle to s1_overlap (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 s1_overlap as text% str2double(get(hObject,'String')) returns contents of s1_overlap as a double% --- Executes on button press in write.function write_Callback(hObject, eventdata, handles)% hObject handle to write (see GCBO)% eventdata reserved - to be defined in a future version of MATLAB% handles structure with handles and user data (see GUIDATA)% --- Executes on button press in s1_random.function s1_random_Callback(hObject, eventdata, handles)% hObject handle to s1_random (see GCBO)% eventdata reserved - to be defined in a future version of MATLAB% handles structure with handles and user data (see GUIDATA)% --- Executes on button press in channels.function channels_Callback(hObject, eventdata, handles)% hObject handle to channels (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 channels% --- Executes during object creation, after setting all properties.function s1_dist_CreateFcn(hObject, eventdata, handles)% hObject handle to s1_dist (see GCBO)% eventdata reserved - to be defined in a future version of MATLAB% handles empty - handles not created until after all CreateFcns called% Hint: popupmenu 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% --- Executes on selection change in s1_dist.function s1_dist_Callback(hObject, eventdata, handles)% hObject handle to s1_dist (see GCBO)% eventdata reserved - to be defined in a future version of MATLAB% handles structure with handles and user data (see GUIDATA)% Hints: contents = get(hObject,'String') returns s1_dist contents as cell array% contents{get(hObject,'Value')} returns selected item from s1_dist% --- Executes during object creation, after setting all properties.function s1_npartials_CreateFcn(hObject, eventdata, handles)% hObject handle to s1_npartials (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 s1_npartials_Callback(hObject, eventdata, handles)% hObject handle to s1_npartials (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 s1_npartials as text% str2double(get(hObject,'String')) returns contents of s1_npartials as a double% --- Executes during object creation, after setting all properties.function s1_start_CreateFcn(hObject, eventdata, handles)% hObject handle to s1_start (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 s1_start_Callback(hObject, eventdata, handles)% hObject handle to s1_start (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 s1_start as text% str2double(get(hObject,'String')) returns contents of s1_start as a double% --- Executes on button press in savesettings.function savesettings_Callback(hObject, eventdata, handles)% hObject handle to savesettings (see GCBO)% eventdata reserved - to be defined in a future version of MATLAB% handles structure with handles and user data (see GUIDATA)% --- Executes during object creation, after setting all properties.function s2_numnotes_CreateFcn(hObject, eventdata, handles)% hObject handle to s2_numnotes (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 s2_numnotes_Callback(hObject, eventdata, handles)% hObject handle to s2_numnotes (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 s2_numnotes as text% str2double(get(hObject,'String')) returns contents of s2_numnotes as a double% --- Executes during object creation, after setting all properties.function s2_npartials_CreateFcn(hObject, eventdata, handles)% hObject handle to s2_npartials (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 s2_npartials_Callback(hObject, eventdata, handles)% hObject handle to s2_npartials (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 s2_npartials as text% str2double(get(hObject,'String')) returns contents of s2_npartials as a double% --- Executes during object creation, after setting all properties.function s2_durs_CreateFcn(hObject, eventdata, handles)% hObject handle to s2_durs (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 s2_durs_Callback(hObject, eventdata, handles)% hObject handle to s2_durs (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 s2_durs as text% str2double(get(hObject,'String')) returns contents of s2_durs as a double% --- Executes during object creation, after setting all properties.function s2_amps_CreateFcn(hObject, eventdata, handles)% hObject handle to s2_amps (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 s2_amps_Callback(hObject, eventdata, handles)% hObject handle to s2_amps (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 s2_amps as text% str2double(get(hObject,'String')) returns contents of s2_amps as a double% --- Executes during object creation, after setting all properties.function s2_freqs_CreateFcn(hObject, eventdata, handles)% hObject handle to s2_freqs (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 s2_freqs_Callback(hObject, eventdata, handles)% hObject handle to s2_freqs (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 s2_freqs as text% str2double(get(hObject,'String')) returns contents of s2_freqs as a double% --- Executes during object creation, after setting all properties.function s2_fskews_CreateFcn(hObject, eventdata, handles)% hObject handle to s2_fskews (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 s2_fskews_Callback(hObject, eventdata, handles)% hObject handle to s2_fskews (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 s2_fskews as text% str2double(get(hObject,'String')) returns contents of s2_fskews as a double% --- Executes during object creation, after setting all properties.function s2_ampenv_CreateFcn(hObject, eventdata, handles)% hObject handle to s2_ampenv (see GCBO)% eventdata reserved - to be defined in a future version of MATLAB% handles empty - handles not created until after all CreateFcns called% Hint: popupmenu 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% --- Executes on selection change in s2_ampenv.function s2_ampenv_Callback(hObject, eventdata, handles)% hObject handle to s2_ampenv (see GCBO)% eventdata reserved - to be defined in a future version of MATLAB% handles structure with handles and user data (see GUIDATA)% Hints: contents = get(hObject,'String') returns s2_ampenv contents as cell array% contents{get(hObject,'Value')} returns selected item from s2_ampenv% --- Executes during object creation, after setting all properties.function s2_freqenv_CreateFcn(hObject, eventdata, handles)% hObject handle to s2_freqenv (see GCBO)% eventdata reserved - to be defined in a future version of MATLAB% handles empty - handles not created until after all CreateFcns called% Hint: popupmenu 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% --- Executes on selection change in s2_freqenv.function s2_freqenv_Callback(hObject, eventdata, handles)% hObject handle to s2_freqenv (see GCBO)% eventdata reserved - to be defined in a future version of MATLAB% handles structure with handles and user data (see GUIDATA)% Hints: contents = get(hObject,'String') returns s2_freqenv contents as cell array% contents{get(hObject,'Value')} returns selected item from s2_freqenv% --- Executes during object creation, after setting all properties.function s2_overlap_CreateFcn(hObject, eventdata, handles)% hObject handle to s2_overlap (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 s2_overlap_Callback(hObject, eventdata, handles)% hObject handle to s2_overlap (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 s2_overlap as text% str2double(get(hObject,'String')) returns contents of s2_overlap as a double% --- Executes during object creation, after setting all properties.function s2_partials_CreateFcn(hObject, eventdata, handles)% hObject handle to s2_partials (see GCBO)% eventdata reserved - to be defined in a future version of MATLAB% handles empty - handles not created until after all CreateFcns called
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -