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!