Karen,
To pull out the files beginning with a string simply insert a carrot at the
beginning. i.e. to select files starting only with '12345', enter
'^12345.*' in the filter selection box. FYI, there is more help as related
to the new filter if you click on the question mark in the spm_select
diaglog box. A
lso, when spm_select appears to be hanging (I'm assuming you're having this
problem after you make your file selections and not during the
initialization process which would depend on your current processor load)
it's actually a Matlab nuance in that graphics events (such as closing the
dialog box) are queued and other events of greater "priority" are processed
first. i.e. Matlab waits for "free" cpu clock cycles to perform graphics
requests. However, the problem can be solved by inserting a "drawnow"
command in the Matlab script immediately after calling spm_select.m
-Regards
Brian Lenoski
-----Original Message-----
From: SPM (Statistical Parametric Mapping) [mailto:[log in to unmask]] On
Behalf Of Karsten Specht
Sent: Monday, March 20, 2006 10:38 AM
To: [log in to unmask]
Subject: [SPM] Filter function in spm_select: Bug or Feature?
Hi all ( in particular John)
I haven't found that someone else was reporting that, but might be it was
already discussed.
But anyway, I'm not able to specify an appropriate filter in spm_select,
since it always give me files, which includes that filter, but they does not
necessarily start with the filter, which I originally wanted to do. For
example, when I search for files starting with the subjects ID '12345', than
I get of course the files, starting with '12345', but I also get 'u12345',
'wu12345', 'swu12345', etc., which is not extremely helpful in most cases,
since I still have to select the files I'm looking for manually rather than
using 'select all'
So, is that a problem of regex in my Matlab version (7.0.0) or is that a
general feature (or bug ...)?
Beside this, I had the experience that spm_select tends to hang up from time
to time.
Best regards,
Karsten
--
-------------------------------------------------------------
Karsten Specht, PhD
Department of Biological and Medical Psychology
& National Competence Centre for functional MRI
University of Bergen
Jonas Lies vei 91
5009 Bergen
Norway
Tel.: +47-555-86279
Fax: +47-555-89872
[log in to unmask]
http://fmri.uib.no/
|