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

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 Comment

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?

Sign in to comment.

More Answers (0)

Categories

Find more on Data Import and Analysis in Help Center and File Exchange

Asked:

on 7 Mar 2017

Commented:

on 7 Mar 2017

Community Treasure Hunt

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

Start Hunting!