Effacer les filtres
Effacer les filtres

Checking file names

2 vues (au cours des 30 derniers jours)
Matthew Moynihan
Matthew Moynihan le 27 Jan 2011
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

Réponses (1)

Andrew Newell
Andrew Newell le 27 Jan 2011
exist('data.xls','file')

Produits

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by