필터 지우기
필터 지우기

Export to .txt file

조회 수: 1 (최근 30일)
Raldi
Raldi 2012년 1월 17일
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?

채택된 답변

Walter Roberson
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
Walter Roberson
Walter Roberson 2012년 1월 17일
Sorry, I am not familiar with Simulink.
Raldi
Raldi 2012년 1월 17일
Its ok, thanks anyway.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

태그

제품

Community Treasure Hunt

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

Start Hunting!

Translated by