⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 dtwexpo.m

📁 非常好的数字处理教程
💻 M
📖 第 1 页 / 共 2 页
字号:
% handles    structure with handles and user data (see GUIDATA)% Hints: contents = get(hObject,'String') returns datatype contents as cell array%        contents{get(hObject,'Value')} returns selected item from datatype    dtwexpofn 'updateDTWPlot';% --- Executes during object creation, after setting all properties.function datatype_CreateFcn(hObject, eventdata, handles)% hObject    handle to datatype (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 && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))    set(hObject,'BackgroundColor','white');endfunction testinfo_Callback(hObject, eventdata, handles)% hObject    handle to testinfo (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 testinfo as text%        str2double(get(hObject,'String')) returns contents of testinfo as a double    set(hObject,'Enable','inactive');% --- Executes during object creation, after setting all properties.function testinfo_CreateFcn(hObject, eventdata, handles)% hObject    handle to testinfo (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 && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))    set(hObject,'BackgroundColor','white');endfunction refinfo_Callback(hObject, eventdata, handles)% hObject    handle to refinfo (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 refinfo as text%        str2double(get(hObject,'String')) returns contents of refinfo as a double    set(hObject,'Enable','inactive');% --- Executes during object creation, after setting all properties.function refinfo_CreateFcn(hObject, eventdata, handles)% hObject    handle to refinfo (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 && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))    set(hObject,'BackgroundColor','white');endfunction windowsize_Callback(hObject, eventdata, handles)% hObject    handle to windowsize (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 windowsize as text%        str2double(get(hObject,'String')) returns contents of windowsize as a double    val = abs(str2num(get(hObject,'String')));    set(hObject,'String',num2str(val));    dtwexpofn 'analysischange';% --- Executes during object creation, after setting all properties.function windowsize_CreateFcn(hObject, eventdata, handles)% hObject    handle to windowsize (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 && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))    set(hObject,'BackgroundColor','white');endfunction windowskip_Callback(hObject, eventdata, handles)% hObject    handle to windowskip (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 windowskip as text%        str2double(get(hObject,'String')) returns contents of windowskip as a double    val = abs(str2num(get(hObject,'String')));    set(hObject,'String',num2str(val));    dtwexpofn 'analysischange';% --- Executes during object creation, after setting all properties.function windowskip_CreateFcn(hObject, eventdata, handles)% hObject    handle to windowskip (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 && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))    set(hObject,'BackgroundColor','white');end% --- Executes on selection change in policymenu.function policymenu_Callback(hObject, eventdata, handles)% hObject    handle to policymenu (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 policymenu contents as cell array%        contents{get(hObject,'Value')} returns selected item from policymenu    dtwexpofn 'policy';% --- Executes during object creation, after setting all properties.function policymenu_CreateFcn(hObject, eventdata, handles)% hObject    handle to policymenu (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 && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))    set(hObject,'BackgroundColor','white');end% --- Executes on button press in grid.function grid_Callback(hObject, eventdata, handles)% hObject    handle to grid (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 grid    dtwexpofn 'updateDTWPlot';% --- Executes on button press in contours.function contours_Callback(hObject, eventdata, handles)% hObject    handle to contours (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 contours    dtwexpofn 'updateDTWPlot';% --- Executes on button press in optpath.function optpath_Callback(hObject, eventdata, handles)% hObject    handle to optpath (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 optpath    dtwexpofn 'updateDTWPlot';% --- Executes on button press in show_distances.function show_distances_Callback(hObject, eventdata, handles)% hObject    handle to show_distances (see GCBO)% eventdata  reserved - to be defined in a future version of MATLAB% handles    structure with handles and user data (see GUIDATA)    dtwexpofn 'show_distances';% --- Executes on button press in analyze.function analyze_Callback(hObject, eventdata, handles)% hObject    handle to analyze (see GCBO)% eventdata  reserved - to be defined in a future version of MATLAB% handles    structure with handles and user data (see GUIDATA)    dtwexpofn 'analyze';% --- Executes on button press in search.function search_Callback(hObject, eventdata, handles)% hObject    handle to search (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 search  dtwexpofn 'updateDTWPlot';

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -