Before doing anything else, it is usually a good idea to run the following first:
spm_defaults
This will load all the default settings (such as defaults.stats.maxres).
Best regards,
-John
-----Original Message-----
From: SPM (Statistical Parametric Mapping) [mailto:[log in to unmask]] On Behalf Of Jérôme Redouté
Sent: Thursday, February 22, 2007 6:06 PM
To: [log in to unmask]
Subject: [SPM] model estimation error with SPM5
Dear SPMers,
I try to estimate a model (SPM.mat was previously built from a matlab
script) using spm_jobman, and I get the following error messages:
>> spm_jobman('run','estimate.mat')
--------------------------
Running "Model estimation"
SPM: spm_spm (v$Rev: 649 $) 17:58:08 - 22/02/2007
========================================================================
Initialising parameters :
...computing??? Reference to non-existent field 'stats'.
Error in ==> spm_spm at 498
MAXRES = defaults.stats.maxres;
Error in ==> spm_config_fmri_est>run_est at 390
SPM = spm_spm(SPM);
Error in ==> spm_jobman>run_struct1 at 1474
feval(prog,val);
Error in ==> spm_jobman>run_struct1 at 1482
run_struct1(c.val{i});
Error in ==> spm_jobman>run_struct1 at 1482
run_struct1(c.val{i});
Error in ==> spm_jobman>run_job at 417
run_struct1(c);
Error in ==> spm_jobman at 79
run_job(varargin{2});
Sometimes, I also have this error: Undefined command/function 'offset'.
If I use the interactive batch mode. There is no problem.
Is someone have an idea?
Thanks for your help
Jerome
--
---------------------------------
Jerome Redouté, Ph. D.
Centre de Neuroscience Cognitive
CNRS-UMR 5229
67, Bd. Pinel. 69675 Bron
Tel: 04 37 91 12 44
[log in to unmask]
---------------------------------
|