how can we check file existence?
Mostrar comentarios más antiguos
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.
Respuesta aceptada
Más respuestas (2)
Safiullah Khan
el 12 de Abr. de 2011
0 votos
Yahia chs
el 20 de Mayo de 2011
0 votos
thank you very much this was really felpful!!!!!!!
Categorías
Más información sobre File Operations en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!