Error while reading dat file

1 view (last 30 days)
Rakesh Chandrashekar
Rakesh Chandrashekar on 15 Mar 2012
Hi , i am gettign an error while reading dat file.
i used the following command load('EGR.dat')
i am getting ??? Error using ==> load Number of columns on line 1 of ASCII file D:\Rakesh\EGR.dat must be the same as previous lines.
help me in this.

Answers (1)

Jan
Jan on 15 Mar 2012
load assumes an ASCII file with the same number of elements in each line, if read a file without a '.mat' file extension and if the '-MAT' option is not set. See help load.
What is the format of your EGR.dat file?

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!