Info

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

Accessing multiple files with variable names

1 view (last 30 days)
Sahil Jain
Sahil Jain on 11 Jan 2019
Closed: MATLAB Answer Bot on 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 Comment
Jan
Jan on 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.

Answers (0)

Tags

No tags entered yet.

Community Treasure Hunt

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

Start Hunting!