kill a specific excell process

9 ビュー (過去 30 日間)
Poumbga Emmanuel
Poumbga Emmanuel 2017 年 2 月 13 日
コメント済み: Jan 2019 年 2 月 27 日
I am using excel from Matlab. I read and write many files from loops. Many excel files remain unclosed and shoot matlab down. I can use the follow syntax to kill all opened excel process: system('taskkill /F /IM EXCEL.EXE').
But during matlab is creating excel files in background, I want to continue to use excel for other issues. This is not possible if I close the excel files all the time in a loop.
Is there a way to kill only a specific excel process (Processes in my loops)?
  6 件のコメント
Dima
Dima 2019 年 2 月 27 日
yes but do you have a workign solution to close the Exel isntanec opened by Matlab??? using matlab 2011
Jan
Jan 2019 年 2 月 27 日
If you use taskkill, the Excel process is killed. This might be really bad if it is writing the output file.

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeData Import from MATLAB についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by