Reading .txt files from the folder and extracting data

36 views (last 30 days)
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 on 27 Jan 2022


Find more on Environment and Settings in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!