Error while reading dat file
1 view (last 30 days)
Show older comments
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.
0 Comments
Answers (1)
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?
0 Comments
See Also
Categories
Find more on Workspace Variables and MAT-Files in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!