Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

Accessing multiple files with variable names

2 Ansichten (letzte 30 Tage)
Sahil Jain
Sahil Jain am 11 Jan. 2019
Geschlossen: MATLAB Answer Bot am 20 Aug. 2021
I have 4000 files with variable names based on the latitude and longitude of places (in the form: data_lat_long). I want to import these files and add the corresponding values present in the 4th column of each file. Can you please provide the code for the same??
  1 Kommentar
Jan
Jan am 11 Jan. 2019
We cannot guess, how your files must be imported. What does "add the corresponding values present in the 4th column of each file" mean? What is "corresponding" with what? Do you want to create a sum or to add a column in the files?
Where are the files stored? All in one folder or distributed over a folder hierarchy? How can you obtain a list of the file names? What does "with variable names" mean? That the files do not have the same name?
Please explain much more details and post, what you have tried so far. If you ask a specific question to the existing code, a useful answer is more likely and the process of assiting you is much more efficient.

Antworten (0)

Diese Frage ist geschlossen.

Tags

Noch keine Tags eingegeben.

Community Treasure Hunt

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

Start Hunting!

Translated by