spok
2006-05-24 19:18:07 UTC
Hello comunauty Matlab.
I've got a little question about reading a file...
does anybody knows how to use the textread or textscan function in
order to extract only numbers without text ??
for my pb, I've got a file from a recording instrument, with a header
which I want to extract the number without the strings...
I'd like to read it systematically without having to specify the
undesirable strings...
basically I'd like: " C = read(file, 'no string')" C being a cell
array.
I went through the textread and textscan manual couple of time, but
can't find any sweet way to do it... (excuse me if I'm blind today, I
just come back the swiming pool...)
anybody with an idea ?
S.
I've got a little question about reading a file...
does anybody knows how to use the textread or textscan function in
order to extract only numbers without text ??
for my pb, I've got a file from a recording instrument, with a header
which I want to extract the number without the strings...
I'd like to read it systematically without having to specify the
undesirable strings...
basically I'd like: " C = read(file, 'no string')" C being a cell
array.
I went through the textread and textscan manual couple of time, but
can't find any sweet way to do it... (excuse me if I'm blind today, I
just come back the swiming pool...)
anybody with an idea ?
S.