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