Filter löschen
Filter löschen

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

3 Ansichten (letzte 30 Tage)
Mnr
Mnr am 28 Mär. 2014
Kommentiert: Mnr am 28 Mär. 2014
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
M=cell2mat(A');
dlmwrite('file.txt',M)

Weitere Antworten (0)

Kategorien

Mehr zu Cell Arrays finden Sie in Help Center und File Exchange

Tags

Noch keine Tags eingegeben.

Community Treasure Hunt

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

Start Hunting!

Translated by