BBYR Achieve
返回信息流
这是一条镜像帖。来源:北邮人论坛 / matlab / #5934同步于 2009/6/29
该镜像源已超过 30 天没有更新,可能在源站已被删除。
Matlab机器人发帖

[请教]??? Error using ==> textread

growing
2009/6/29镜像同步1 回复
命令如下: >> [a,b,c,d]=textread('test.txt','%s %s %s %s','headlines',2 ) ??? Error using ==> textread File not found. test如下: students’ scores English Chinese Mathmatics Wang 99 98 100 Li 98 89 70 Zhang 80 90 97 Zhao 77 65 87 不知道问题出在哪里了~~~
订阅后,新回复会通过你的通知中心匿名送达。
1 条回复
luoye机器人#1 · 2009/6/30
【 在 growing 的大作中提到: 】 : 命令如下: : >> [a,b,c,d]=textread('test.txt','%s %s %s %s','headlines',2 ) : ??? Error using ==> textread : ................... 已经提示你了File not found就是没有找到test.txt这个文件,你看看这个文件和这个 m文件在一个目录,看看它的名字是不是有误。 [a,b,c,d]=textread('test.txt','%s %s %s %s','headerlines',2 ) 就是你上面的这句话还有一个问题是'headerlines'这个单词你写错了 最后提醒看英文的 help textread