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

📄 dplresolutioncover.asv

📁 在MATLAB环境下设计一个加速度计动态校准的数据处理软件附有程序源代码,压缩包中有软件使用说明
💻 ASV
字号:
function varargout = DPLResolutionCover(varargin)
% DPLRESOLUTIONCOVER M-file for DPLResolutionCover.fig
%      DPLRESOLUTIONCOVER, by itself, creates a new DPLRESOLUTIONCOVER or raises the existing
%      singleton*.
%
%      H = DPLRESOLUTIONCOVER returns the handle to a new DPLRESOLUTIONCOVER or the handle to
%      the existing singleton*.
%
%      DPLRESOLUTIONCOVER('CALLBACK',hObject,eventData,handles,...) calls the local
%      function named CALLBACK in DPLRESOLUTIONCOVER.M with the given input arguments.
%
%      DPLRESOLUTIONCOVER('Property','Value',...) creates a new DPLRESOLUTIONCOVER or raises the
%      existing singleton*.  Starting from the left, property value pairs are
%      applied to the GUI before DPLResolutionCover_OpeningFunction gets called.  An
%      unrecognized property name or invalid value makes property application
%      stop.  All inputs are passed to DPLResolutionCover_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

% Copyright 2002-2003 The MathWorks, Inc.

% Edit the above text to modify the response to help DPLResolutionCover

% Last Modified by GUIDE v2.5 10-Sep-2005 20:10:28

% Begin initialization code - DO NOT EDIT
gui_Singleton = 1;
gui_State = struct('gui_Name',       mfilename, ...
                   'gui_Singleton',  gui_Singleton, ...
                   'gui_OpeningFcn', @DPLResolutionCover_OpeningFcn, ...
                   'gui_OutputFcn',  @DPLResolutionCover_OutputFcn, ...
                   'gui_LayoutFcn',  [] , ...
                   'gui_Callback',   []);
if nargin && ischar(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 DPLResolutionCover is made visible.
function DPLResolutionCover_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 DPLResolutionCover (see VARARGIN)
% Choose default command line output for DPLResolutionCover
handles.output = hObject;
% Update handles structure
guidata(hObject, handles);

% UIWAIT makes DPLResolutionCover wait for user response (see UIRESUME)
% uiwait(handles.figure1);


% --- Outputs from this function are returned to the command line.
function varargout = DPLResolutionCover_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;


% --- Executes on selection change in popupmenu1.
function popupmenu1_Callback(hObject, eventdata, handles)
% hObject    handle to popupmenu1 (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 popupmenu1 contents as cell array
%        contents{get(hObject,'Value')} returns selected item from popupmenu1
DPRCover_PopMenuSTD_Value=get(hObject,'Value');

% --- Executes during object creation, after setting all properties.
function popupmenu1_CreateFcn(hObject, eventdata, handles)
% hObject    handle to popupmenu1 (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
load DPR_DataSupport DPRCover_PopMenuSTD_Value;
set(hObject,'Value',DPRCover_PopMenuSTD_Value);

% --- Executes on button press in pushbutton2.
function pushbutton2_Callback(hObject, eventdata, handles)
% hObject    handle to pushbutton2 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)
DPRCover_PopMenuSTD_Value=get(findobj('Tag','popupmenu1'),'Value');
DPRCover_PopMenuTEA_Value=get(findobj('Tag','popupmenu4'),'Value');
DPRCover_PopMenuTEB_Value=get(findobj('Tag','popupmenu5'),'Value');
save DPR_DataSupport DPRCover_PopMenuSTD_Value DPRCover_PopMenuTEA_Value DPRCover_PopMenuTEB_Value -append;
close;
clear;




% --- Executes on selection change in popupmenu5.
function popupmenu5_Callback(hObject, eventdata, handles)
% hObject    handle to popupmenu5 (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 popupmenu5 contents as cell array
%        contents{get(hObject,'Value')} returns selected item from popupmenu5
DPRCover_PopMenuTEB_Value=get(hObject,'Value');

% --- Executes during object creation, after setting all properties.
function popupmenu5_CreateFcn(hObject, eventdata, handles)
% hObject    handle to popupmenu5 (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
load DPR_DataSupport DPRCover_PopMenuTEB_Value;
set(hObject,'Value',DPRCover_PopMenuTEB_Value);

% --- Executes on selection change in popupmenu4.
function popupmenu4_Callback(hObject, eventdata, handles)
% hObject    handle to popupmenu4 (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 popupmenu4 contents as cell array
%        contents{get(hObject,'Value')} returns selected item from popupmenu4
DPRCover_PopMenuTEA_Value=get(hObject,'Value');

% --- Executes during object creation, after setting all properties.
function popupmenu4_CreateFcn(hObject, eventdata, handles)
% hObject    handle to popupmenu4 (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
load DPR_DataSupport DPRCover_PopMenuTEA_Value;
set(hObject,'Value',DPRCover_PopMenuTEA_Value);



% --- Executes on button press in pushbutton6.
function pushbutton6_Callback(hObject, eventdata, handles)
% hObject    handle to pushbutton6 (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)
DPRCover_PopMenuSTD_Value=get(findobj('Tag','popupmenu1'),'Value');
DPRCover_PopMenuTEA_Value=get(findobj('Tag','popupmenu4'),'Value');
DPRCover_PopMenuTEB_Value=get(findobj('Tag','popupmenu5'),'Value');
DPRCover_PopMenuCOL_Value=get(
save DPR_DataSupport DPRCover_PopMenuSTD_Value DPRCover_PopMenuTEA_Value DPRCover_PopMenuTEB_Value -append;
%清空通道状态
CHSTD_Status='';
CHTEA_Status='';
CHTEB_Status='';
save DPR_DataSupport CHSTD_Status CHTEA_Status CHTEB_Status -append;
close;
run DPLResolution;

⌨️ 快捷键说明

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