Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

several text file into matlab sequentially

1 vue (au cours des 30 derniers jours)
fatima
fatima le 20 Jan 2013
Clôturé : MATLAB Answer Bot le 20 Août 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
  1 commentaire
Azzi Abdelmalek
Azzi Abdelmalek le 20 Jan 2013
what is
path of filename(Tmax_year_month_day.txt)

Réponses (1)

Walter Roberson
Walter Roberson le 20 Jan 2013

Cette question est clôturée.

Community Treasure Hunt

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

Start Hunting!

Translated by