Try:
files = spm_select(Inf,'^swrbold1.*\.img$', 'Select swrbold1* images')
Best regards,
-John
On Tuesday 05 August 2008 21:48, Yune Lee wrote:
> Dear SPM and matlab gurus
>
> I'm trying to select only swrbold1* using the command spm_select.
> Below is what I typed and I can't seem to filter the files that I need to
> get.
> What is the trick to filter only swrbold1 images?
>
> files = spm_select(Inf,'img','^swrbold1*')
>
> Let me know.
> Thanks.
|