How can I get and read data files from a folder?

23 vues (au cours des 30 derniers jours)
Agustin
Agustin le 7 Mar 2017
Commenté : Agustin le 7 Mar 2017
I'm working on some data files to process radar images for analysis but I'm having issues with getting and reading the files. With the following I am able to get and read the file by manually selecting the file
[fname1, pname,ext] = uigetfile( ... {'*.gbf','GBF data file (*.gbf)'}, ... 'Select GBD file');
This works if I'm only working with one or two files but I want to work with over 1,000 files. Does anyone know a way to get and read all the files at once? Looking forward for a soon reply.
Thank you;
  1 commentaire
Stephen23
Stephen23 le 7 Mar 2017
This is such a common topic that it is extensively covered in the MATLAB wiki:
and also hundreds/thousands of times on this forum:
and no doubt countless other blogs and tutorials online. Have you read any of them?

Connectez-vous pour commenter.

Réponse acceptée

Adam
Adam le 7 Mar 2017
  1 commentaire
Agustin
Agustin le 7 Mar 2017
Thank you! This was very helpful. It was exactly what I was looking for.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Data Import and Analysis dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by