Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations cowski on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can't LOAD data file into Matlab!

Status
Not open for further replies.

IndiJones

Computer
Joined
May 10, 2004
Messages
1
Location
JP
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?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top