How do I write to a .txt file?
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
I need to write to a .txt file.
Thank you for your help.
0 Kommentare
Antworten (2)
Walter Roberson
am 25 Jan. 2014
fid = fopen('YourFile.txt', 'wt');
fprintf(fid, 'Jake said: %f\n', sqrt(1:10));
fclose(fid);
0 Kommentare
Siehe auch
Kategorien
Mehr zu Data Type Conversion finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!