![]() |
textread 不读取文本文件每行开始的空格
2 个附件
我的文件中存放的形式如下:
[url]http://www.labfans.com/bbs/attachment.php?attachmentid=3235&stc=1&d=1338771647[/url] 使用语句 n=textread(filename,'%s','delimiter','\r'); 读取后,单元数组格式 [url]http://www.labfans.com/bbs/attachment.php?attachmentid=3236&stc=1&d=1338771647[/url] 每行开始处的空格都没有了,自动成左对齐了;即使转成字符串数组,也是这样。 有哪位前辈知道是怎么回事吗?还望赐教,谢谢! |
所有时间均为北京时间。现在的时间是 12:37。 |
Powered by vBulletin
版权所有 ©2000 - 2025,Jelsoft Enterprises Ltd.