unable to load .txt file. it shows the following error
22 次查看(过去 30 天)
显示 更早的评论
load data file.txt Error using load Unable to read file 'data': no such file or directory.
1 个评论
回答(2 个)
Shameer Parmar
2016-6-24
You can do this..
Data = textread('abc.txt', '%s', 'delimiter', '')
Make sure that the abc.txt file is present in current directory.
It will create variable 'Data' which store all data from your text file..
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Search Path 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!