open-discussion > RE: Undefined function 'cfg_get_defaults'
May 7, 2013  07:05 AM | Christophe Phillips
RE: Undefined function 'cfg_get_defaults'
Deat Lin,

Could yu possibly provide the whole error message spit out by Matlab?
From what you describe, it looks like SPM8/PRoNTo are not properly installed, or at least Matlab cannot find them...

Could you check that the top directory of *both* SPM and PRoNTo have been added to the Matlab path ?
You can check that things are in place by typing, at the matlab prompt: 'which spm' and 'which prt'.
These should return the path to the spm.m and prt.m files, any other answer means there is a path problem.

To further make sure that your installation of SPM is ok, you can launch it with 'spm fmri' at the matlab prompt, then try to display any image (e.g. one from the 'canonical' subdirectory of SPM). Again any error would point towards a setup problem.

HTH,
Chris

PS: there are few PRoNTo people on NITRC and you may prefer to use thus PRoNTo-users mailing list: PRONTO-USERS@JISCMAIL.AC.UK

Threaded View

TitleAuthorDate
lin jiang May 7, 2013
RE: Undefined function 'cfg_get_defaults'
Christophe Phillips May 7, 2013
lin jiang May 7, 2013
Christophe Phillips May 7, 2013
lin jiang May 8, 2013