Export to .txt file
조회 수: 1 (최근 30일)
이전 댓글 표시
Hi everyone. I was trying to create a txt file so i can strore some inputs in there. I have a problem though. I save alot of stuff in there and when i use "type" and print it inside Matlab it looks ok, but when i open the file with notepad there are no spaces or new lines...its just a row of text. How can i fix that?
댓글 수: 0
채택된 답변
Walter Roberson
2012년 1월 17일
When you use fopen(), use 'wt' rather than just 'w'
The part about there being no spaces does not sound familiar to me at the moment.
댓글 수: 3
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Startup and Shutdown에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!