Azzera filtri
Azzera filtri

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

3 visualizzazioni (ultimi 30 giorni)
Mnr
Mnr il 28 Mar 2014
Commentato: Mnr il 28 Mar 2014
Hello all,
How can I print the element of a 1x8 cell array having elements of 1x300 double into a text file?
Thanks.

Risposta accettata

Azzi Abdelmalek
Azzi Abdelmalek il 28 Mar 2014
M=cell2mat(A');
dlmwrite('file.txt',M)

Più risposte (0)

Categorie

Scopri di più su Cell Arrays in Help Center e File Exchange

Tag

Non è stata ancora inserito alcun tag.

Community Treasure Hunt

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

Start Hunting!

Translated by