Azzera filtri
Azzera filtri

How can I store scores in txt file by fprintf?

3 visualizzazioni (ultimi 30 giorni)
Ali
Ali il 16 Dic 2014
Risposto: Sudharsana Iyengar il 18 Dic 2014
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 Commento
Thorsten
Thorsten il 16 Dic 2014
help fprintf
It's fairly straigthforward. What have you tried and were did you got stuck?

Accedi per commentare.

Risposte (1)

Sudharsana Iyengar
Sudharsana Iyengar il 18 Dic 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)

Categorie

Scopri di più su Workspace Variables and MAT-Files in Help Center e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by