Filter löschen
Filter löschen

Export to .txt file

1 Ansicht (letzte 30 Tage)
Raldi
Raldi am 17 Jan. 2012
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?

Akzeptierte Antwort

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

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Startup and Shutdown finden Sie in Help Center und File Exchange

Tags

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by