how can we check file existence?
Ältere Kommentare anzeigen
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.
Akzeptierte Antwort
Weitere Antworten (2)
Safiullah Khan
am 12 Apr. 2011
0 Stimmen
Yahia chs
am 20 Mai 2011
0 Stimmen
thank you very much this was really felpful!!!!!!!
Kategorien
Mehr zu File Operations finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!