From: TobiasStevens on
When I try to select some files using the command:

f = spm_select('FPList', fullfile(data_path,'functional'), '^PS.*\.img
$');

From the data_path, which has the directory 'functional' in it (which
holds the files)

It comes up with:

??? Error using ==> spm_select
Inappropriate usage.

Error in ==> batch_jobs_efmri at 36
a = spm_select('FPList', fullfile(data_path,'structural'), '^PS.*\.img
$');

I can't seem to solve this...
From: us on
"TobiasStevens(a)gmail.com" <tobiasstevens(a)gmail.com> wrote in message <0461a449-0692-471a-87fb-559acdf04ff7(a)e1g2000yqh.googlegroups.com>...
> When I try to select some files using the command:
>
> f = spm_select('FPList', fullfile(data_path,'functional'), '^PS.*\.img
> $');
>
> From the data_path, which has the directory 'functional' in it (which
> holds the files)
>
> It comes up with:
>
> ??? Error using ==> spm_select
> Inappropriate usage.
>
> Error in ==> batch_jobs_efmri at 36
> a = spm_select('FPList', fullfile(data_path,'structural'), '^PS.*\.img
> $');
>
> I can't seem to solve this...

you'll get better SPM support here at

http://www.fil.ion.ucl.ac.uk/spm/support/

us