Clear Filters
Clear Filters

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

3 views (last 30 days)
Mnr
Mnr on 28 Mar 2014
Commented: Mnr on 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.

Accepted Answer

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

More Answers (0)

Categories

Find more on Cell Arrays in Help Center and File Exchange

Tags

No tags entered yet.

Community Treasure Hunt

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

Start Hunting!