Clear Filters
Clear Filters

Info

This question is closed. Reopen it to edit or answer.

several text file into matlab sequentially

1 view (last 30 days)
fatima
fatima on 20 Jan 2013
Closed: MATLAB Answer Bot on 20 Aug 2021
Hello,
I have a lot of text files, and I have the function to import it to matlab as mat file.(meteorological dataset), but i need to write a loop to import all of these text files with this function, to matlab with the "same name". would you please help me. my text file are like this, for instances:Tmax_year_month_day.txt and i should do for 50 years! also,the function is like this:output(Tmax_year_month_day.mat)=readASCIIGrid(path of filename(Tmax_year_month_day.txt))
Any help would be massively appreciated

Answers (1)

Walter Roberson
Walter Roberson on 20 Jan 2013

This question is closed.

Community Treasure Hunt

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

Start Hunting!