
Re: Extract numbers from table containing text and numbers
Posted:
Feb 5, 2013 1:55 AM


dpb <none@non.net> wrote in message <keplqs$he2$1@speranza.aioe.org>...
> > The killer w/ C's i/o functions is their complete inability to > "understand" fixwidth fieldsit's simply absurd that one can't read > the equivalent of a Fortran FORMAT(5I1) w/ a record of '101 1' and > reliably get 1,0,1,0,1 returned in appropriate variables. In Matlab > (and C) that's nearly impossible w/o special handling. >
What's problem? The fixed format reading is just take the right column of the char matrix. OK you have to count the column, but that's really a big deal?
Writing with fixedformat with MATLAB is another matter (there is simply no easy way of doing it).
Bruno

