read files in a directory
古いコメントを表示
I have to read data files in a directory. The asc files that I need to read are in subfolders. In each subfolder there are four asc files. I only need to access one file in each folder and read the headers and columns below (look at the pictures attached).There are more than 10,000 fies in subfolders that I need to read in. I want to create variables for latitude, longitude,starting-time and the colums CO,z,T (see the attached files). At the end there will be variables such as this.
latitude: 10,000*1
longitude:10,000*1
etc.
z: 10,000*23 (23 is for 23 altitude levels)
T: 10,000*23
CO : 10,000*23
Any help will be greatly appreciated.
2 件のコメント
Stephen23
2018 年 12 月 18 日
@Anton Fernando: please upload a sample file. We cannot test code on screenshots.
Anton Fernando
2018 年 12 月 18 日
採用された回答
その他の回答 (1 件)
KSSV
2018 年 12 月 18 日
0 投票
A simple googling will give you tons of sites for this querry. Example:
2 件のコメント
Anton Fernando
2018 年 12 月 18 日
編集済み: Anton Fernando
2018 年 12 月 18 日
Anton Fernando
2018 年 12 月 18 日
カテゴリ
ヘルプ センター および File Exchange で Spreadsheets についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!