Checking file names
显示 更早的评论
Hello,
I am writing a file to excel. Here is the code:
xlswrite('data.xls', file);
How can I check to see if that file name already exsists in my working folder?
Thanks
回答(1 个)
Andrew Newell
2011-1-27
exist('data.xls','file')
类别
在 帮助中心 和 File Exchange 中查找有关 Data Import from MATLAB 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!