Check if Excel File is open
이전 댓글 표시
I am doing a read/write to an excel file. In order to do the write, I want to check if the file is already open somewhere else in case I need to close it. How can I do this?
Thank you!
채택된 답변
추가 답변 (1개)
Paulo Silva
2011년 4월 7일
FListOpen=fopen('all'); %get the names of the open files
ismember('myfile',FListOpen) %see if myfile is open
카테고리
도움말 센터 및 File Exchange에서 Spreadsheets에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!