Reading .txt files from the folder and extracting data

13 views (last 30 days)
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.
The folders look like above each folder has three files which look like
I want to read the first file of each folder and extract the value of Cext, as shown in the picture below.
Does any one knows how it can be done?

Answers (1)

KSSV
KSSV on 27 Jan 2022

Categories

Find more on Cell Arrays in Help Center and File Exchange

Products


Release

R2020a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!