Try using ".*_seg_sn\.mat$" instead (the change is the \ before the .mat).
Lorelei Howard wrote:
> Hi,
>
> I have written the attached .m file to batch together my structural
> normalisation. I am having an issue with line 44:
>
> param=spm_select('ExtFPList',[structuralpath filesep
> subject_func{s}],'.*_seg_sn.mat$');
>
> ...for some reason this filter does not select any files (let alone the
> correct one), whereas when i use it in the GUI it does work which I find
> bizarre. Can anyone help to explain why this may be? And how I can get the
> correct file selected?
>
> Many Thanks,
> Lorelei
>
>
>
>
|