how can we check file existence?
Afficher commentaires plus anciens
hi, i am writing my application(gui app) data to a text file (appdata.txt) and i want to make sure that every time when the application runs it doesn't create a new file or a copy of a file, the problem is:
1) how can i check if the appdata.txt already exists or not (if not then create new text file or else append data to existing one)
thanks for any help.
Réponse acceptée
Plus de réponses (2)
Safiullah Khan
le 12 Avr 2011
0 votes
Yahia chs
le 20 Mai 2011
0 votes
thank you very much this was really felpful!!!!!!!
Catégories
En savoir plus sur File Operations dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!