MATLAB: Problem with import data

importdata

I have a problem using import data with the attached txt file. Unfortunately I cannot change the format of this.
(I also enclose a few lines here)
Field, Real Y, Parax Y, %Dist, R-P(um)
0.0000 0.0000 0.0000 0.0000 0.0000
0.0625 -2.0453 -2.0451 0.0094 -0.1912
0.1250 -4.0917 -4.0902 0.0374 -1.5314
My code is:
delimiterIn = ' ';
headerlinesIn = 1;
A = importdata(file,delimiterIn,headerlinesIn)
which returns: A =
'ÿþF i e l d , R e a l Y , P a r a x Y , % D i s t , R - P ( u m ) '

Best Answer

There is something strange going on with that data-file, but if the file is a simple tab-delimited text-file (attached), then this code will import and plot that data:
fid = fopen('distortion.txt','rt');
M = cell2mat(textscan(fid,'%f%f%f%f%f','HeaderLines',1));
fclose(fid);
plot(M(:,5),M(:,1))