How might I load a text file with data organized like this:
X : 0.0160579
Y : 0.0611
Z : 0.0177048
Y-X-Y : 0.0602318
|
Z
The code I'm trying to use is:
data = dlmread(FileName,':',2,0);
I get an error that says, "Mismatch between file and format character vector.
Trouble reading 'Numeric' field from file (row number 1, field number 1) ==> X 0.0160579\n".
I've tried playing with the delimiter in dlmread and also using other codes like 'load' and 'textscan', with no success (each has their own problem with these files).
Best Answer