Borrar filtros
Borrar filtros

print a cell array as .txt in Matlab (2)

3 visualizaciones (últimos 30 días)
Mnr
Mnr el 28 de Mzo. de 2014
Comentada: Mnr el 28 de Mzo. de 2014
Hello all,
How can I print the element of a 1x8 cell array having elements of 1x300 double into a text file?
Thanks.

Respuesta aceptada

Azzi Abdelmalek
Azzi Abdelmalek el 28 de Mzo. de 2014
M=cell2mat(A');
dlmwrite('file.txt',M)

Más respuestas (0)

Categorías

Más información sobre Cell Arrays en Help Center y File Exchange.

Etiquetas

Aún no se han introducido etiquetas.

Community Treasure Hunt

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

Start Hunting!

Translated by