From: Rachel on
Hi,

I export data from a secondary program into a text file with
data = importdata(InData, ' ', 16);

I have written a script which processes this data and it has always worked fine. I get:

data (11x 421 double)
textdata (16 x 421 cell)
colheaders (1 x 421 cell)

However, I have added another couple of columns to the end, and now I get:

data (16 x 1 cell), where all the data has been squashed up into one row with no spaces and is in with all the text data.

if I use data = importdata(InData, ' ', 14);
then I get
data (135x661 double)
textdata (14 x 1 cell)

but the last columns are inserted between the first columns (Note that r1 and c1 aren't actually in the data - they are just added for clarity of rows). The 57.***** are actually supposed to be the last columns, not the first:
c1 c2 c3
r1 NaN NaN NaN
r2 1 10 4
r3 57.2355880100000 -5.65615545000000 57.2356330200000
r4 2 10 4
r5 57.2356487000000 -5.65606040000000 57.2356994100000
r6 3 10 4
r7 57.2357172600000 -5.65601782000000 57.2357672200000


the data has been exported exactly the same way, they are both DOS, tab delimited, there is no text in the new columns. Please help!

thanks

Rachel