If you type the following in MATLAB:
path
...does it include your directory with spm in it? If not, then try typing:
help path
Best regards,
-John
On Tuesday 18 September 2007 19:19, Todd Penney wrote:
> Hello,
>
> I am getting the following error when trying to run a 1st level
> analysis using SPM5 in MATLAB:
>
> SPM present working directory:
> C:\SPM5\spm5
> --------------------------
> Running "fMRI model specification"
> Changing directory to:
> C:\cygwin\AnnaChangeegfmri2\relevantHRFs\vols300_400cmpnt\.\
> Error running job:
> Undefined function or method 'spm_select' for input arguments of type
> 'char'. In file "C:\SPM5\spm5\spm_config_fmri_spec.m", function "run_stats"
> at line 716.
> In file "C:\SPM5\spm5\spm_jobman.m", function "run_struct1" at line 1540.
> In file "C:\SPM5\spm5\spm_jobman.m", function "run_struct1" at line 1548.
> In file "C:\SPM5\spm5\spm_jobman.m", function "run_struct1" at line 1548.
> In file "C:\SPM5\spm5\spm_jobman.m", function "run_struct" at line 1492.
> ??? Undefined function or method 'spm_figure' for input arguments of
> type 'char'.
>
> Error in ==> spm_jobman>clearwin at 365
> fg = spm_figure('findwin','Graphics');
>
> Error in ==> spm_jobman>setup_ui at 144
> fg = clearwin;
>
> Error in ==> spm_jobman>run_struct at 1501
> setup_ui(job);
>
> ??? Error while evaluating uicontrol Callback
>
>
>
> I recently renewed my MATLAB subscription and the new MATLAB
> version R2007a is running on my machine. The problem may have
> something to do with this new version of MATLAB (I was running SPM5
> using MATLAB ver 7.3 before). If anyone can provide some help, I
> would appreciate it.
>
> Sincerely,
>
> Todd Penney
> University of Alberta
|