On Tue, 17 Sep 2002, Elena Antonova wrote:
> Everything works fine when I type in the covariate vector in matlab before
> running spm session and I can use the vectors during the same session in
> different directories. I have saved the vectors using 'save 'covariate
> vector name' before quiting matlab. Next time I needed to run analysis in
> SPM, I first created the new directory for the results file (as I usually
> do for the new analysis) and I copied the vector .mat files for each
> covariate into this new directory. However, when I called the vector name
> in the covariate box while entering the data for analysis, I got message
> 'evaluation error'. I have tried to open the vectors in matlab before
> running analysis, but I failed to open them. What am I doing wrong? How
> do I make use of the covariate vector .mat files in the analyses in
> different directories during different SPM sessions?
Dear Elena,
in the same way you saved your covariate vectors, you need to load them
again into matlab next time by typing
load 'name of mat-file'
on the matlab command line before you start specifying your new analysis.
Yours,
--
Volkmar Glauche
Department of Neurology E-Mail [log in to unmask]
UKE Hamburg WWW http://glauche.home.pages.de/
Martinistr. 52 Phone 49(0)40-42803-5781
20246 Hamburg Fax 49(0)40-42803-9955
|