So....I tried that suggestion (thanks Chris) and still no joy...I just
can't see why it's not working. Any other suggestions?
Cheers,
Lorelei
> 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
>>
>>
>>
>>
>
--
Lorelei Howard
Ph.D. Student
Institute of Behavioural Neuroscience
Cognitive, Perceptual and Brain Sciences Department
University College London
26 Bedford Way
WC1H 0AP
+44 (0)20 7679 8553
|