unable to load .txt file. it shows the following error
27 views (last 30 days)
Show older comments
load data file.txt Error using load Unable to read file 'data': no such file or directory.
1 Comment
Answers (2)
Shameer Parmar
on 24 Jun 2016
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 Comments
See Also
Categories
Find more on Search Path in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!