필터 지우기
필터 지우기

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

조회 수: 3 (최근 30일)
Mnr
Mnr 2014년 3월 28일
댓글: Mnr 2014년 3월 28일
Hello all,
How can I print the element of a 1x8 cell array having elements of 1x300 double into a text file?
Thanks.

채택된 답변

Azzi Abdelmalek
Azzi Abdelmalek 2014년 3월 28일
M=cell2mat(A');
dlmwrite('file.txt',M)

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Cell Arrays에 대해 자세히 알아보기

태그

아직 태그를 입력하지 않았습니다.

Community Treasure Hunt

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

Start Hunting!

Translated by