several text file into matlab sequentially

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

Questa domanda è chiusa.

Richiesto:

il 20 Gen 2013

Chiuso:

il 20 Ago 2021

Community Treasure Hunt

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

Start Hunting!

Translated by