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

Antworten (1)

Andrew Newell
Andrew Newell am 27 Jan. 2011

0 Stimmen

exist('data.xls','file')

Kategorien

Produkte

Gefragt:

am 27 Jan. 2011

Community Treasure Hunt

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

Start Hunting!

Translated by