Hi,
not sure why the error appears but it seems the problem is at the
beginning of the path, not at the end: there can't be a folder
"C:program files\..." as it is missing a file separator between the
drive and the folder. So spm cannot change to that folder, giving you an
error. Perhaps this gives you a clue.
Cheers,
Marko
Christopher Kobylecki wrote:
> Dear all,
>
> I keep coming up against an error message when starting SPM8 in MATLAB
> r2011a. I am using the latest SPM8 update, and after calling spm get
> this message:
>
> *Initialising SPM...??? Error using ==> cd*
>
> *Cannot CD to C:program Files\spm8\config (Name is nonexistent or not a
> directory).*
>
> **
>
> *Error in ==> cfg_util>local_cd at 1035*
>
> *cd(pth);*
>
> **
>
> *Error in ==> cfg_util>local_initapps at 1291*
>
> *local_cd(p);*
>
> **
>
> *Error in ==> cfg_util at 619*
>
> *local_initapps;*
>
> **
>
> *Error in ==> spm_jobman at 160*
>
> *cfg_util('initcfg'); % This must be the first call to cfg_util*
>
> **
>
> *Error in ==> spm at 346*
>
> *spm_jobman('initcfg');*
>
> **
>
> This problem is solved by reinstalling SPM but this is quite
> time-consuming. I am not sure why it keeps telling me that there is no
> config directory as it is clearly there. Any help with this would be
> much appreciated.
>
> Many thanks
>
> Chris
>
> ------------------------------------------------------------------------
>
> *Dr Christopher Kobylecki MRCP PhD*
>
> *NIHR Clinical Lecturer and Specialist Registrar in Neurology*
>
> Wolfson Molecular Imaging Centre
>
> University of Manchester
>
> Palatine Road, Withington
>
> Manchester M20 3LJ
>
> 0161 275 0019
>
> [log in to unmask]
>
--
____________________________________________________
PD Dr. med. Marko Wilke
Facharzt für Kinder- und Jugendmedizin
Leiter, Experimentelle Pädiatrische Neurobildgebung
Universitäts-Kinderklinik
Abt. III (Neuropädiatrie)
Marko Wilke, MD, PhD
Pediatrician
Head, Experimental Pediatric Neuroimaging
University Children's Hospital
Dept. III (Pediatric Neurology)
Hoppe-Seyler-Str. 1
D - 72076 Tübingen, Germany
Tel. +49 7071 29-83416
Fax +49 7071 29-5473
[log in to unmask]
http://www.medizin.uni-tuebingen.de/kinder/epn
____________________________________________________
|