On Wed, 25 Jan 2006, ika16 wrote:
> Dear List
>
> I got a problem to extrat image and convert it ti a Matlab dataset.
>
> Firtst i gave
>
> path(path,'C:/..../spm5)
>
> then to extract each image and convert it into a matlab dataset
> use
>
> V=spm_vol(spm_get(inf,'*.img'));
>
> Matlab gives me an error message "Undefined command/function 'spm_get'"
spm_get is no longer available in SPM5, use spm_select instead (see the
help and code of spm_select for details how to provide arguments to it).
If you are using SPM2 scripts for SPM5, then you should check the spm_*
functions called, there may be some subtle changes in arguments or
code replacements.
> then i tried
>
> V=spm_vol(spm_get_data(inf,'*.img'));
>
> Still got an error.
>
> Any help greatly appreciated!
>
> ----------------------------------------
> In Kang
>
> Ph.D Statistics Student
> Department of Mathematics and statistics
> University of Canterbury
> Private Bag 4800
> Christchurch New Zealand
> Tel: +64 3 364 2987 ext 8873
>
>
--
Volkmar Glauche
-
Department of Neurology [log in to unmask]
Universitaetsklinikum Freiburg Phone 49(0)761-270-5331
Breisacher Str. 64 Fax 49(0)761-270-5416
79106 Freiburg
|