Reading .txt files from the folder and extracting data
7 ビュー (過去 30 日間)
古いコメントを表示
Hello,
I have a couple of folders which have three text files, I want to read the first file and save the numerical value in an array.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/875535/image.png)
The folders look like above each folder has three files which look like
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/875540/image.png)
I want to read the first file of each folder and extract the value of Cext, as shown in the picture below.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/875545/image.png)
Does any one knows how it can be done?
0 件のコメント
回答 (1 件)
参考
カテゴリ
Help Center および File Exchange で Structures についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!