how can we check file existence?
显示 更早的评论
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.
采纳的回答
更多回答(2 个)
Yahia chs
2011-5-20
0 个投票
thank you very much this was really felpful!!!!!!!
类别
在 帮助中心 和 File Exchange 中查找有关 File Operations 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!