フィルターのクリア

Extracting data from a folder consisting of .mat file

1 回表示 (過去 30 日間)
SUSHMA MB
SUSHMA MB 2018 年 4 月 2 日
コメント済み: Stephen23 2018 年 4 月 2 日
I have a folder, which contains multiple .mat file. I need to extract a particular table from all the multiple .mat files inside the folder. How to do that? For eg: I have a folder named "myfoler" consist of multiple .mat files named as "test100, test200,.....test 1000". Now i want to extract 'x' and 'y' table for all the .mat file. I used
m = matfile('test100.mat');
theTable1 = m.X;
theTable2 = m.Y;
But this is for single .mat file. I want to run in it a loop.

回答 (0 件)

カテゴリ

Help Center および File ExchangeStructures についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by