Convert .mat file into .csv file
2 ビュー (過去 30 日間)
古いコメントを表示
Hi,
I am try to convert the attached mat file into csv file. I check some previous answer but it didnot work in my case.
0 件のコメント
採用された回答
Sulaymon Eshkabilov
2020 年 8 月 9 日
編集済み: per isakson
2020 年 8 月 9 日
Hi,
For your data, converting into xls or xlsx would be easier. If you'd need only csv, then you'd need to use the syntax as this one:
Data = load('TestingTDStatic1.mat');
csvwrite('CSVDATA_Index.csv', Data.TestIndex); % 1st csv file
for ii=1:36 % given 36 sets of structure type of data size in ROI
% 2nd csv file
csvwrite('CSVDATA_ROI.csv', Data.ROI{1, ii}.Xaddress', Data.ROI{1, ii}.Yaddress'); % similarly for Polarity, TimeStamp
end
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Workspace Variables and MAT Files についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!