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

Hello all,
How can I print the element of a 1x8 cell array having elements of 1x300 double into a text file?
Thanks.

 Akzeptierte Antwort

Azzi Abdelmalek
Azzi Abdelmalek am 28 Mär. 2014

0 Stimmen

M=cell2mat(A');
dlmwrite('file.txt',M)

Weitere Antworten (0)

Kategorien

Tags

Noch keine Tags eingegeben.

Gefragt:

Mnr
am 28 Mär. 2014

Kommentiert:

Mnr
am 28 Mär. 2014

Community Treasure Hunt

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

Start Hunting!

Translated by