Hi Kim
I'm not sure why the error occurs on line 1 but my guess is that you may be trying to run mni2tal
but you do not have the file spm_matrix in your matlab path. So either first start spm (spm2 or
spm5) and then run mni2tal or type at the matlab prompt
addpath('/PATH_TO_YOUR_SPM_DIRECTORY/')
substituting your path.
If that doesn't work check that matlab recognizes the functions find, size, etc.
darren
==============Original message text===============
On Mon, 03 Jul 2006 5:22:14 pm CDT ±θΑφΗφ wrote:
Dear SPM experts
I have encountered a basic and simple problem.
; transormation of MNI coordinates to Talairach space.
When I implemented 'mni2tal.m' file developed by Mattew Brett (
http://www.mrc-cbu.cam.ac.uk/Imaging/Common/mnispace.shtml)and type at the Matlab prompt, however, it does not seem to work
mni2tal([10 12 14])
??? Error: File: mni2tal.m Line: 1 Column: 7
Missing variable or function.
How can I solve this problem??
Alternatively, is there another program in which this transformation can be
easily accomplished ??
Any suggestion would be greatly appreciated
Thanks a million
Kim
===========End of original message text===========
--------------------------------
Darren R. Gitelman, M.D.
Cognitive Neurology and the Alzheimer's Disease Center
Northwestern Univ., 320 E. Superior St., Searle 11-470, Chicago, IL 60611
Voice: (312) 908-9023 Fax: (312) 908-8789
--------------------------------
|