from mat to csv

4 views (last 30 days)
Zahra  S. Abd Al-Hassan
Zahra S. Abd Al-Hassan on 7 May 2017
Answered: Jan on 8 May 2017
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.

Answers (1)

Jan
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.

Tags

Community Treasure Hunt

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

Start Hunting!