Quantcast
Channel: NITRC CONN : functional connectivity toolbox Forum: help
Viewing all articles
Browse latest Browse all 6864

Problems batch importing l2covariates

$
0
0
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

Viewing all articles
Browse latest Browse all 6864

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>