set values to the meg_parm for vb_job_meg (BIOSEMI) [usage] [meg_parm] = vb_set_meg_parm_biosemi(device_code) [input] device_code : <optional> device code for 1) BIOSEMI : default is [1] [output] meg_parm : <<struct>> meg_parm : .Measurement : 'EEG' : .device : 'BIOSEMI' : .measurement_file : input file (normally *.bdf) : .pos_file : position file (*.pos.mat) : .output_file : output file (normally *.eeg.mat) [note] @see vb_set_meg_parm_biosemi_test.m [history] 2008-02-14 (Sako) initial version 2008-02-26 (Sako) supported POS-MAT file 2008-03-18 (Sako) discarded figure_info 2008-05-28 (Sako) changed format of meg_parm 2011-02-18 (Sako) changed value of bin_data_dir empty Copyright (C) 2011, ATR All Rights Reserved. License : New BSD License(see VBMEG_LICENSE.txt)
0001 function [meg_parm] = vb_set_meg_parm_biosemi(device_code) 0002 % set values to the meg_parm for vb_job_meg (BIOSEMI) 0003 % [usage] 0004 % [meg_parm] = vb_set_meg_parm_biosemi(device_code) 0005 % [input] 0006 % device_code : <optional> device code for 1) BIOSEMI 0007 % : default is [1] 0008 % [output] 0009 % meg_parm : <<struct>> meg_parm 0010 % : .Measurement : 'EEG' 0011 % : .device : 'BIOSEMI' 0012 % : .measurement_file : input file (normally *.bdf) 0013 % : .pos_file : position file (*.pos.mat) 0014 % : .output_file : output file (normally *.eeg.mat) 0015 % [note] 0016 % @see vb_set_meg_parm_biosemi_test.m 0017 % [history] 0018 % 2008-02-14 (Sako) initial version 0019 % 2008-02-26 (Sako) supported POS-MAT file 0020 % 2008-03-18 (Sako) discarded figure_info 0021 % 2008-05-28 (Sako) changed format of meg_parm 0022 % 2011-02-18 (Sako) changed value of bin_data_dir empty 0023 % 0024 % Copyright (C) 2011, ATR All Rights Reserved. 0025 % License : New BSD License(see VBMEG_LICENSE.txt) 0026 0027 if ~exist('device_code', 'var') || isempty(device_code) 0028 device_code = 1; 0029 end 0030 0031 func_ = mfilename; 0032 0033 % --- EEG --- % 0034 if device_code == 1 0035 0036 % --- REQUIRED --------------------------------------------------- % 0037 0038 meg_parm = vb_meg_parm_set_measurement([], 'EEG', 'BIOSEMI'); 0039 0040 meg_parm.measurement_file = ''; 0041 meg_parm.pos_file = ''; 0042 meg_parm.output_file = ''; 0043 else 0044 error('(%s)undefined device_code : %d', func_, device_code); 0045 end 0046 0047 %%% END OF FILE %%%