필터 지우기
필터 지우기

Checking file names

조회 수: 2 (최근 30일)
Matthew Moynihan
Matthew Moynihan 2011년 1월 27일
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
Andrew Newell 2011년 1월 27일
exist('data.xls','file')

카테고리

Help CenterFile Exchange에서 Spreadsheets에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by