How to import multiple sdat or dat files from a folder to indiviudal table format

4 views (last 30 days)
Usama Bin Khalid
Usama Bin Khalid on 10 May 2021
I have 35 sdat files. I dont want to import them individaully by going in import matlab tool and then importing them as a table format.
Is there a way to succesfully import all these files as individual tables..i have tried this
T = struct2table(p);
but it creates 34x6 table..what i want is individual tables as if we load these by matlab import tool seperatley.

Answers (0)

Community Treasure Hunt

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

Start Hunting!