Dear all,
I am trying to run a leave-one-run out cross validation analysis using 2 conditions. I have specified the label names:
labelname1 = {‘Incongruent_Up’};
labelname2 = {‘Incongruent_Down’};
and filled in the rest of the template accordingly. However, when it hits line 78
% Extract all information for the cfg.files structure (labels will be [1 -1] )
cfg = decoding_describe_data(cfg,{labelname1 labelname2},[1 -1],regressor_names,beta_loc);
I get the following errors:
getting betas from M:\DATA\AV_Contour\Results_Incongruent
Undefined operator ‘-’ for input arguments of type ‘cell’.
Error in wildcard2regexp (line 27)
output_adjusted = [output(1:ind-1) ‘’ output(ind:end)];
Error in decoding_describe_data (line 210)
labelnames{i_input} = wildcard2regexp(orig_labelnames{i_input});
Error in decoding_template_classifier (line 78)
cfg = decoding_describe_data(cfg,{labelname1 labelname2},{1 -1},regressor_names,beta_loc);
If anyone could please advise
Much appreciated!