IndiJones
Full Member level 2
I have a simple tab spaced data file (data1.dat) and need to load it into Matlab. The dat file is like this for an example:
1 5.35
2 3.68
3 3.54
4 2.39
5 2.06
6 1.48
7 0.63
8 1.09
9 1.75
10 2.66
11 5.34
12 6.13
But whenever I write the command:
>> load data1.dat
I get the following error message:
QUOTE
??? Error: File: C:\MATLAB6p5p1\toolbox\compiler\load_mat\@char\load.m Line: 32 Column: 30
Missing operator, comma, semicolon, or white space.
UNQUOTE
Please note that all the paths to the directories have been correctly set. What could be wrong?
1 5.35
2 3.68
3 3.54
4 2.39
5 2.06
6 1.48
7 0.63
8 1.09
9 1.75
10 2.66
11 5.34
12 6.13
But whenever I write the command:
>> load data1.dat
I get the following error message:
QUOTE
??? Error: File: C:\MATLAB6p5p1\toolbox\compiler\load_mat\@char\load.m Line: 32 Column: 30
Missing operator, comma, semicolon, or white space.
UNQUOTE
Please note that all the paths to the directories have been correctly set. What could be wrong?