from mat to csv

3 visualizaciones (últimos 30 días)
Zahra  S. Abd Al-Hassan
Zahra S. Abd Al-Hassan el 7 de Mayo de 2017
Respondida: Jan el 8 de Mayo de 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.

Respuestas (1)

Jan
Jan el 8 de Mayo de 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.

Categorías

Más información sobre Workspace Variables and MAT Files en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by