Skip to content

Commit

Permalink
added intepreting 4th column as char in spreadsheet
Browse files Browse the repository at this point in the history
  • Loading branch information
Timothy Sit committed Aug 15, 2022
1 parent a8ba67e commit 51773af
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion MEApipeline.m
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,8 @@
opts.VariableNamesLine = 1;
opts.VariableTypes{1} = 'char'; % this should be the recoding file name
opts.VariableTypes{2} = 'double'; % this should be the DIV
opts.VariableTypes{3} = 'char';
opts.VariableTypes{3} = 'char'; % this should be Group
opts.VariableTypes{4} = 'char'; % this should be Ground
opts.DataLines = [2 Inf]; % start reading data from row 2
% csv_data = readtable(spreadsheet_filename, 'Delimiter','comma');
csv_data = readtable(spreadsheet_filename, opts);
Expand Down

0 comments on commit 51773af

Please sign in to comment.