Reading .txt files from the folder and extracting data
조회 수: 10 (최근 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에서 Cell Arrays에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!