.MAT to .DAT
조회 수: 4 (최근 30일)
이전 댓글 표시
I have a prepared a matlab mat file and i want to export it to a text .dat file. The .dat file has to be SPACE-DELIMITED. What is the best way to do this. Thanx!
댓글 수: 0
답변 (1개)
Wayne King
2012년 3월 13일
Does the .mat file have only numeric data?
You can use dlmwrite with the 'delimiter','\t' option to tab delimit the data. See the help for dlmwrite
You can also just try using save with the -ascii option
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Low-Level File I/O에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!