dpb <email@example.com> wrote in message <firstname.lastname@example.org>... > > One would think it should be a bug indeed but unfortunately it isn't. :( > why not? in my opinion this is a bug when it is not working as it should do. i do not see any reason why the whitespace should not be counted when using the format strings.
> The only choice is to do one of the following -- > > a) If possible create the file as delimited rather than fixed width unfortunately not possible.
> b) Read the file in as a single char array and do a global substitution > to insert a delimiter then parse the result from memory this is what i finally did. but this is not an elegant solution. and it is not as fast as textread would be. > > e) Write a Fortran mex file to parse the file and return it to Matlab > using Fortran fixed-width fields (or, as long as there are not empty > fields, list-directed i/o works as well). too much work for such a simple problem. > > I would urge you to add to the clamor by requesting TMW fix this > oversight/shortcoming by submitting formal feature request to support at > the mathworks.com site. (This has been one of my pet peeves for 20+ yr > as regulars at cs-sm will attest :) ) i have sent a request to the matlab support. let's see what they answer.