Hello All,
I am having trouble importing second level covariates. My batch script runs fine and all the data and conditions and first level covariates will load, but not the second level covariates.
I have 10 covariates. I created L2COV which is a 1x98 (98 subjects) cell where each cell is a 1x10 cell array of the indicators (0 or 1 for that covariate)
l2covariate_names= {'CTS','HC','L Hand','R Hand','Group E','Group K','Group P','Pain Dominant','Paresthesia Dominant', 'Equal'};
batch.Setup.l2covariates.names=l2covariate_names;
batch.Setup.l2covariates.values=L2COV;
batch.Setup.l2covariates.descrip=repmat({''},1,n_l2cov);
I tried manually loading in a covariate, saving the .mat file and then looking at it in matlab. the .Setup.l2covariates structure looks identical to the way I set up my batch file.
So why doesn't CONN load them in?
I've also been unsuccessful in writing a text file to import through the gui. How should the text file be formatted?
- Harris
I am having trouble importing second level covariates. My batch script runs fine and all the data and conditions and first level covariates will load, but not the second level covariates.
I have 10 covariates. I created L2COV which is a 1x98 (98 subjects) cell where each cell is a 1x10 cell array of the indicators (0 or 1 for that covariate)
l2covariate_names= {'CTS','HC','L Hand','R Hand','Group E','Group K','Group P','Pain Dominant','Paresthesia Dominant', 'Equal'};
batch.Setup.l2covariates.names=l2covariate_names;
batch.Setup.l2covariates.values=L2COV;
batch.Setup.l2covariates.descrip=repmat({''},1,n_l2cov);
I tried manually loading in a covariate, saving the .mat file and then looking at it in matlab. the .Setup.l2covariates structure looks identical to the way I set up my batch file.
So why doesn't CONN load them in?
I've also been unsuccessful in writing a text file to import through the gui. How should the text file be formatted?
- Harris