from mat to csv

3 vues (au cours des 30 derniers jours)
Zahra  S. Abd Al-Hassan
Zahra S. Abd Al-Hassan le 7 Mai 2017
Réponse apportée : Jan le 8 Mai 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.

Réponses (1)

Jan
Jan le 8 Mai 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.

Catégories

En savoir plus sur Workspace Variables and MAT Files dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by