from mat to csv
4 views (last 30 days)
Show older comments
Hi
I have 20 files ending with *.mat I just want to convert to *.csv How can I do that only taking the *.mat as input and returning them with the same filename ending with *.csv? One of the mat-file contains the following and I want all this info converted to cvs for all 20 files.

0 Comments
Answers (1)
Jan
on 8 May 2017
Think twice. It is not possible - except if you clarify any details: How should the resulting file look like? There is no unique definition of how a cell or a 3D array has to be saved in a comma separated text file. If you really need a CSV file, I expect that there are any clear descriptions how this file should look like. But without a clear definition, a direct converion from MAT to CSV is not meaningful.
0 Comments
See Also
Categories
Find more on Workspace Variables and MAT Files in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!