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

1 次查看(过去 30 天)
hello,
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
p=dir('*.sdat');
T = struct2table(p);
but it creates 34x6 table..what i want is individual tables as if we load these by matlab import tool seperatley.

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Weather and Atmospheric Science 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by