Export to .txt file
2 ビュー (過去 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 で Environment and Settings についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!