.txt file to a string
3 ビュー (過去 30 日間)
古いコメントを表示
I am trying to use "importdata" program to import a txt file, but in order for the importdata to read the file, it must be a string. Is there a way to convert the txt file into a string. The txt file is one column of 1500 different numbers (a graph). Thanks!
1 件のコメント
回答 (1 件)
Andy
2013 年 11 月 5 日
"importdata" will work with a .txt file that is just a series of numbers ie. 1 2 4 5 7 9 8 7 3 0 Using notepad I created a .txt file with those numbers in a single column and importdata read them in as a variable 10 x 1. Is there something unusual about how your .txt file is being stored/created?
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Manage Products についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!