matlab load 文件出错(最简单的形式)报错:Error using loadNumber of columns on line 2 of ASCII file****must be the same as previous lines.但是实际上load的内容在ultraedit中是一致的呀:5.000 7.82 3.24 10.000 9.10 4.72 15.

来源:学生作业帮助网 编辑:作业帮 时间:2024/05/06 17:12:02

matlab load 文件出错(最简单的形式)报错:Error using loadNumber of columns on line 2 of ASCII file****must be the same as previous lines.但是实际上load的内容在ultraedit中是一致的呀:5.000 7.82 3.24 10.000 9.10 4.72 15.
matlab load 文件出错(最简单的形式)
报错:Error using load
Number of columns on line 2 of ASCII file****
must be the same as previous lines.
但是实际上load的内容在ultraedit中是一致的呀:
5.000 7.82 3.24
10.000 9.10 4.72
15.000 10.14 5.77
为什么不行呢?

matlab load 文件出错(最简单的形式)报错:Error using loadNumber of columns on line 2 of ASCII file****must be the same as previous lines.但是实际上load的内容在ultraedit中是一致的呀:5.000 7.82 3.24 10.000 9.10 4.72 15.
load函数默认是读取.mat格式(二进制文件)用的,如果你是文本文件,请加上'-ascii'参数