Dear all
I have used Henson's batch code for fMRI data analysis for a while and found
it very helpful. But, when I try to design the matrix for a new study, it
always gives me following errors. Could anyone give me some suggestions?
??? Error using ==> horzcat
All matrices on a row in the bracketed expression must have the
same number of rows.
Error in ==> /Applications/MATLAB6p5/spm2/spm_fMRI_design.m
On line 347 ==> SPM.xX.X = [Xx Xb];
Error in ==> /Applications/MATLAB6p5/spm2/spm_fmri_spm_ui.m
On line 209 ==> SPM = spm_fMRI_design(SPM);
Error in ==> /Users/jiansong/matlab/meth/meth_nback/test.m
On line 137 ==> SPM = spm_fmri_spm_ui(SPM);
Thanks
Jiansong
|