亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? inca_matlab_api_demo.m

?? MATLAB提供的INCA_DEMO程序
?? M
?? 第 1 頁 / 共 2 頁
字號:
function varargout = INCA_MATLAB_API_demo(varargin)
% INCA_MATLAB_API_DEMO M-file for INCA_MATLAB_API_demo.fig
%      INCA_MATLAB_API_DEMO, by itself, creates a new INCA_MATLAB_API_DEMO or raises the existing
%      singleton*.
%
%      H = INCA_MATLAB_API_DEMO returns the handle to a new INCA_MATLAB_API_DEMO or the handle to
%      the existing singleton*.
%
%      INCA_MATLAB_API_DEMO('CALLBACK',hObject,eventData,handles,...) calls the local
%      function named CALLBACK in INCA_MATLAB_API_DEMO.M with the given input arguments.
%
%      INCA_MATLAB_API_DEMO('Property','Value',...) creates a new INCA_MATLAB_API_DEMO or raises the
%      existing singleton*.  Starting from the left, property value pairs are
%      applied to the GUI before INCA_MATLAB_API_demo_OpeningFunction gets called.  An
%      unrecognized property name or invalid value makes property application
%      stop.  All inputs are passed to INCA_MATLAB_API_demo_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 INCA_MATLAB_API_demo

% Last Modified by GUIDE v2.5 27-Oct-2005 22:04:55

% Begin initialization code - DO NOT EDIT
gui_Singleton = 1;
gui_State = struct('gui_Name',       mfilename, ...
    'gui_Singleton',  gui_Singleton, ...
    'gui_OpeningFcn', @INCA_MATLAB_API_demo_OpeningFcn, ...
    'gui_OutputFcn',  @INCA_MATLAB_API_demo_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 INCA_MATLAB_API_demo is made visible.
function INCA_MATLAB_API_demo_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 INCA_MATLAB_API_demo (see VARARGIN)

% Choose default command line output for INCA_MATLAB_API_demo
handles.output = hObject;


handles.pref = getpref('INCA');
if isempty(handles.pref)
    addpref('INCA','databaseDir', '')
    addpref('INCA','experiment', '')
    addpref('INCA','device','')
    addpref('INCA','calElements','')
    addpref('INCA','measElementsGroup','')
    addpref('INCA','measElementsSignal','')
    handles.pref = getpref('INCA');
end


% Update handles structure
guidata(hObject, handles);

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

xlabel('Time')
ylabel('Measured Units')

% --- Outputs from this function are returned to the command line.
function varargout = INCA_MATLAB_API_demo_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 databaseOpen_Callback(hObject, eventdata, handles)
% hObject    handle to databaseOpen (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)


try
    dname = uigetdir( handles.pref.databaseDir, 'Choose the directory containing your database.')
catch
    dname = uigetdir(' ','Choose the directory containing your database.')
end

if isstr(dname)
    IncaOpenDatabase(dname)
    setpref('INCA','databaseDir',dname)
    set(handles.pathDatabase,'string',dname)
end

% --------------------------------------------------------------------
function experOpen_Callback(hObject, eventdata, handles)
% hObject    handle to experOpen (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)

prompts = {'Input the name of the experiment folder:'...
    'Input the name of the experiment:'...
    'Input the name of the INCA workspace folder:'...
    'Input the name of the INCA workspace:'};
dlg_title = 'Experiment Configuration';
num_lines = 1;
defAns = getpref('INCA','experiment');
if isempty(defAns)
    defAns = {'', '.vk', '', '.ws'};
end

answer = inputdlg(prompts,dlg_title,num_lines,defAns);

if ~isempty(answer)
    button = questdlg('Would you like to close all INCA measure and calibration windows?',...
        'Close All Views','Yes');
end
switch button
    case 'Yes'
        IncaOpenExperiment(answer{1},answer{2},answer{3},answer{4},1);
        setpref('INCA','experiment',answer)
    case 'No'
        IncaOpenExperiment(answer{1},answer{2},answer{3},answer{4},0);
        setpref('INCA','experiment',answer)
    otherwise
        setpref('INCA','experiment',answer)
end

% --------------------------------------------------------------------
function monitor_Callback(hObject, eventdata, handles)
% hObject    handle to monitor (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)

checked = get(hObject, 'checked');
if strcmp(checked, 'on')
    IncaShowMessages(0) % ETAS mex function to disable command line messages
    set(hObject,'checked', 'off')
else
    IncaShowMessages(1) % ETAS mex function to enable command line messages
    set(hObject,'checked', 'on')
end

% --------------------------------------------------------------------
function resetExper_Callback(hObject, eventdata, handles)
% hObject    handle to resetExper (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)

IncaResetExperiment

% --------------------------------------------------------------------
function INCAversion_Callback(hObject, eventdata, handles)
% hObject    handle to INCAversion (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)

version = IncaGetVersion;

helpdlg(sprintf('You are running INCA version: %s',version),...
    sprintf('INCA %s',version))

% --------------------------------------------------------------------
function startMeas_Callback(hObject, eventdata, handles)
% hObject    handle to startMeas (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)

if strcmp(get(hObject,'checked'),'off')
    IncaStartMeasurement
    set(hObject,'checked','on')
    set(handles.stopMeas,'checked','off')
end

% --------------------------------------------------------------------
function stopMeas_Callback(hObject, eventdata, handles)
% hObject    handle to stopMeas (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)

if strcmp(get(hObject,'checked'),'off')
    if strcmp(get(handles.startRecord,'checked'),'on')
        file = get(handles.MDFfile,'string');
        IncaStopMeasurement(file)
        set(handles.startRecord,'checked','off')
        set(handles.stopRecord,'checked','on')
    else
        IncaStopMeasurement
    end
    set(hObject,'checked','on')
    set(handles.startMeas,'checked','off')
end

set(handles.readDataToggle,'backgroundcolor',[1 0 0])
a = timerfind;
stop(a);delete(a)
% --------------------------------------------------------------------
function startRecord_Callback(hObject, eventdata, handles)
% hObject    handle to startRecord (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)

if strcmp(get(hObject,'checked'),'off')
    IncaStartRecording
    set(hObject,'checked','on')
    set(handles.stopRecord,'checked','off')
end
% --------------------------------------------------------------------
function stopRecord_Callback(hObject, eventdata, handles)
% hObject    handle to stopRecord (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)

file = get(handles.MDFfile,'string');

if strcmp(get(hObject,'checked'),'off')
    IncaStopRecording(file)
    set(hObject,'checked','on')
    set(handles.startRecord,'checked','off')
end


% --------------------------------------------------------------------
function readMode_Callback(hObject, eventdata, handles)
% hObject    handle to readMode (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)

if strcmp(get(hObject,'checked'),'on')
    IncaSetMeasureReadMode(1)
    set(hObject,'checked','off')
else
    IncaSetMeasureReadMode(0)
    set(hObject,'checked','on')
end

% --------------------------------------------------------------------
function bufferReset_Callback(hObject, eventdata, handles)
% hObject    handle to bufferReset (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)


IncaResetRecords

% --------------------------------------------------------------------
function addMeas_Callback(hObject, eventdata, handles)
% hObject    handle to addMeas (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)


try
    defAns = {getpref('INCA','device'),...
        getpref('INCA','measElementGroup'),...
        getpref('INCA','measElementSignal'),''};
    answer = inputdlg({'Device Name:','Group Name:', 'Signal Name:', 'Display Mode: (1 on / 0 off)'},...
        'Add a Measurement Element to a Signal Group',1,defAns);
catch
    answer = inputdlg({'Device Name:','Group Name:', 'Signal Name:', 'Display Mode: (1 on / 0 off)'},...
    'Add a Measurement Element to a Signal Group');
end


if ~isempty(answer)
    setpref('INCA','device',answer{1})
    setpref('INCA','measElementGroup',answer{2})
    setpref('INCA','measElementSignal',answer{3})
    if isempty(answer{4})
        IncaAddMeasureElement(answer{1}, answer{2}, answer{3});
    else
        IncaAddMeasureElement(answer{1}, answer{2}, answer{3}, str2num(answer{4}));
    end
end


% --------------------------------------------------------------------
function start_Callback(hObject, eventdata, handles)
% hObject    handle to start (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)

% If INCA has been opened by MATLAB and then closed, some classes may not
% be cleared enabling the application to be opened.
warning off;
clear classes;
warning on;

% ETAS mex-function to open INCA
IncaOpen





% --- Executes during object creation, after setting all properties.
function pathDatabase_CreateFcn(hObject, eventdata, handles)
% hObject    handle to pathDatabase (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

try
    set(hObject,'string',getpref('INCA','databaseDir'));
catch
    set(hObject,'string',' ');
end





% --------------------------------------------------------------------
function recordFile_Callback(hObject, eventdata, handles)
% hObject    handle to recordFile (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)

[filename, pathname] = uiputfile( ...
    {'*.dat';'*.mdf';'*.*'}, ...
    'Save MDF File as');

if isstr(pathname)
    setpref('INCA','MDFfile',{pathname,filename})
    set(handles.MDFfile,'string',[pathname,filename])
end


% --- Executes during object creation, after setting all properties.
function MDFfile_CreateFcn(hObject, eventdata, handles)
% hObject    handle to MDFfile (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

try
    file = getpref('INCA','MDFfile');
    set(hObject,'string',[file{1},file{2}]);
catch
    set(hObject,'string',' ');
end


% --------------------------------------------------------------------
function incrementFile_Callback(hObject, eventdata, handles)
% hObject    handle to incrementFile (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB
% handles    structure with handles and user data (see GUIDATA)




% --------------------------------------------------------------------
function calAdd_Callback(hObject, eventdata, handles)
% hObject    handle to calAdd (see GCBO)
% eventdata  reserved - to be defined in a future version of MATLAB

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美一区二区日韩一区二区| 天天色综合天天| 天天操天天色综合| 成人av免费网站| 欧美成人一区二区| 亚洲自拍偷拍欧美| 99久久99久久久精品齐齐 | 日本中文字幕一区| 91丨九色丨国产丨porny| 久久综合九色综合97婷婷| 五月激情六月综合| 欧美日韩免费在线视频| 亚洲欧美日本韩国| 99久久国产免费看| 亚洲欧洲精品一区二区精品久久久| 国产美女视频一区| 久久先锋影音av| 久久精品理论片| 日韩视频一区二区三区在线播放| 亚洲夂夂婷婷色拍ww47| 一本在线高清不卡dvd| 亚洲女人的天堂| 91亚洲国产成人精品一区二区三| 久久久精品国产免费观看同学| 精东粉嫩av免费一区二区三区| 91精品久久久久久久久99蜜臂| 五月天激情综合网| 欧美日韩视频专区在线播放| 亚洲成a人片在线观看中文| 欧美撒尿777hd撒尿| 亚洲高清免费视频| 欧美色精品在线视频| 亚洲成人自拍偷拍| 欧美一级日韩不卡播放免费| 日本色综合中文字幕| 欧美大度的电影原声| 极品少妇一区二区| 国产欧美一区二区精品性色超碰 | 欧美日韩免费观看一区三区| 亚洲成a人片综合在线| 欧美一区日本一区韩国一区| 国产一区二区免费视频| 国产欧美一区二区精品性色| 91一区二区在线观看| 亚洲激情一二三区| 欧美电影一区二区三区| 国产真实乱偷精品视频免| 国产精品久久影院| 欧洲精品在线观看| 美女视频一区二区三区| 国产欧美精品在线观看| 在线观看免费亚洲| 麻豆精品一区二区三区| 国产成人超碰人人澡人人澡| 日韩视频免费观看高清完整版 | 精品一区二区在线免费观看| 久久久噜噜噜久久人人看 | 亚洲国产美国国产综合一区二区| 欧美日韩国产高清一区二区三区 | 一区免费观看视频| 欧美在线观看视频在线| 免费高清成人在线| 国产精品进线69影院| 欧美精品久久一区| 懂色av一区二区三区蜜臀| 亚洲一卡二卡三卡四卡五卡| 精品国产一区二区在线观看| 91亚洲精华国产精华精华液| 九九精品视频在线看| 一区二区三区精品视频| 精品区一区二区| 99视频国产精品| 韩国精品一区二区| 亚洲国产精品久久人人爱蜜臀| 国产欧美一区二区精品性色超碰| 欧美日韩日日摸| 99综合电影在线视频| 另类综合日韩欧美亚洲| 亚洲最大色网站| 国产日韩欧美激情| 日韩精品一区二区三区在线观看| 色婷婷久久久亚洲一区二区三区| 久久99国内精品| 亚洲精品ww久久久久久p站| 久久久亚洲精华液精华液精华液| 欧美日韩精品欧美日韩精品 | 亚洲午夜精品在线| 精彩视频一区二区三区| 日韩精品一区二区三区在线播放 | 亚洲图片欧美视频| 久久综合99re88久久爱| 欧美色精品在线视频| 91一区一区三区| 成人毛片视频在线观看| 国产一区二区不卡在线| 免费在线观看成人| 亚洲bt欧美bt精品| 亚洲韩国一区二区三区| 亚洲美女淫视频| 日韩美女啊v在线免费观看| 久久精品人人做人人综合| 日韩精品一区国产麻豆| 欧美日韩一区二区欧美激情| 色婷婷亚洲精品| 99re成人精品视频| 成人网在线免费视频| 国产成人午夜高潮毛片| 国产一本一道久久香蕉| 国产一区二区三区| 国产乱码精品1区2区3区| 国产在线精品免费| 国产91精品免费| av毛片久久久久**hd| www.在线成人| 91麻豆福利精品推荐| 91美女在线看| 欧美主播一区二区三区美女| 欧美色视频一区| 91.麻豆视频| 欧美r级电影在线观看| 日韩免费电影网站| 精品国产在天天线2019| 国产人久久人人人人爽| 欧美—级在线免费片| 亚洲欧美在线高清| 亚洲最大成人网4388xx| 日韩av网站免费在线| 精品无人码麻豆乱码1区2区| 国产成人精品www牛牛影视| 91在线视频播放| 欧美日本一道本在线视频| 欧美v日韩v国产v| 国产精品免费看片| 一区二区三区欧美视频| 日韩电影一区二区三区| 国产一区二区三区四区五区美女| av亚洲精华国产精华| 欧美午夜精品电影| 日韩精品中文字幕在线不卡尤物 | 精品欧美一区二区久久| 中文字幕国产精品一区二区| 亚洲在线成人精品| 国产在线看一区| 色八戒一区二区三区| 日韩三区在线观看| 国产精品久久久久三级| 天天操天天色综合| 波波电影院一区二区三区| 欧美精三区欧美精三区| 国产丝袜在线精品| 亚洲国产综合色| 国产suv一区二区三区88区| 欧美三级韩国三级日本一级| 久久亚洲精品国产精品紫薇| 亚洲欧美日韩一区二区 | 国产精品美女久久久久久久久久久| 亚洲欧美日韩国产另类专区| 蜜桃视频免费观看一区| 97久久超碰国产精品电影| 精品成人在线观看| 亚洲一区二区三区四区不卡| 国产寡妇亲子伦一区二区| 欧美久久久一区| 国产精品护士白丝一区av| 免费人成黄页网站在线一区二区| 91色九色蝌蚪| 久久精品一区四区| 蓝色福利精品导航| 色94色欧美sute亚洲线路一久| 久久先锋影音av鲁色资源网| 亚洲成国产人片在线观看| 99久久久国产精品| 国产欧美视频在线观看| 麻豆专区一区二区三区四区五区| 欧美在线短视频| 亚洲视频在线观看三级| 国产suv精品一区二区6| 精品国产制服丝袜高跟| 免费成人性网站| 7777精品伊人久久久大香线蕉 | 久久色在线观看| 日本网站在线观看一区二区三区| 色综合天天性综合| 欧美韩国日本不卡| 国产乱码精品一区二区三区五月婷| 日韩丝袜情趣美女图片| 日本亚洲最大的色成网站www| 欧美视频精品在线观看| 亚洲五码中文字幕| 91成人免费在线视频| 一区二区三区电影在线播| 91麻豆国产福利在线观看| 国产精品的网站| 99久久99久久综合| 亚洲精品一卡二卡| 在线视频中文字幕一区二区| 一区二区不卡在线视频 午夜欧美不卡在| 91丨porny丨户外露出| 国产精品的网站| 色爱区综合激月婷婷|