Commit de281143 authored by Amit Goldenberg's avatar Amit Goldenberg

fixed the

parent 267ff4f4
%% EEG ANALYSES FOR AMIT'S MOTIVATED CONTAGION EXPERIMENT %%
clear all; close all; clc;
%% SETTINGS %%
do = struct('import',0, 'reimport',0, ... % flow control - a structure that monitors our progress
'ica',0, 'reica',0, ...
do = struct('import',1, 'reimport',0, ... % flow control - a structure that monitors our progress
'ica',1, 'reica',0, ...
'epoch',0, 'reepoch',0, ...
'build', 1, 'analyze', 0);
......@@ -26,9 +26,8 @@ epochdir = [dataDir,'output\epoch\']; mkdir(epochdir); % fu
eeglab; % open eeglab
%% IMPORT %%
while do.import==0; % flow control question
while do.import==1; % flow control question
% Importing the EEG data, attaching events from excel file; relabeling the channael names and rereferencing.
pop_editoptions('option_storedisk', 0); % set eeglab to hold actual data from several datasets in MATLAB (as opposed to loading them from disk only when needed which is useful at later stages )
implist = dir([impdir, '*.raw']); % make a fresh list of the contents of the raw files directory (input of this loop)
%input to the loop
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment