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

3 Ansichten (letzte 30 Tage)
Agustin
Agustin am 7 Mär. 2017
Kommentiert: Agustin am 7 Mär. 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 Kommentar
Stephen23
Stephen23 am 7 Mär. 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?

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

Adam
Adam am 7 Mär. 2017
  1 Kommentar
Agustin
Agustin am 7 Mär. 2017
Thank you! This was very helpful. It was exactly what I was looking for.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Data Import and Analysis finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by