Error while reading dat file

3 次查看(过去 30 天)
Rakesh Chandrashekar
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.

回答(1 个)

Jan
Jan 2012-3-15
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?

类别

Help CenterFile Exchange 中查找有关 Workspace Variables and MAT-Files 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by