How can I store scores in txt file by fprintf?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
I am eager to know that how can I store my scores in txt file by fprintf and can I access that file by a variable? Scores should be added as they are entered in a vector? Thanks
1 Kommentar
Thorsten
am 16 Dez. 2014
help fprintf
It's fairly straigthforward. What have you tried and were did you got stuck?
Antworten (1)
Sudharsana Iyengar
am 18 Dez. 2014
since you want it in text format why dont you use dlm write.
If suppose you want to save a particular variable say S use following command
dlmwrite('name of the file.txt',S)
0 Kommentare
Siehe auch
Kategorien
Mehr zu Environment and Settings 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!