from mat to csv

3 visualizzazioni (ultimi 30 giorni)
Zahra  S. Abd Al-Hassan
Zahra S. Abd Al-Hassan il 7 Mag 2017
Risposto: Jan il 8 Mag 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.

Risposte (1)

Jan
Jan il 8 Mag 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.

Categorie

Scopri di più su Workspace Variables and MAT Files in Help Center e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by