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

8 visualizzazioni (ultimi 30 giorni)
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 Commento
Stephen23
Stephen23 il 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?

Accedi per commentare.

Risposta accettata

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

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Data Import and Analysis in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by