IsEXCELrunning

版本 1.0.0.0 (1.5 KB) 作者: Meade
Checks if there is a running EXCEL process.
50.0 次下载
更新时间 2016/4/19

查看许可证

|IsEXCELrunning| returns a simple logical "true"/"false" based on whether there is an instance of EXCEL running. Since many Matlab ActX calls may bonk if there's already some instance running, this allows a check.
It also allows a "Force Kill" option to close all EXCEL processes.
This is useful because a number of ActiveX based calls used by Matlab (e.g. xlswrite) may fail if they attempt to open a COM connection while a process is already running.

(This was inspired by a Stack Exchange post by http://stackoverflow.com/users/3898611/daniel-pereira)

引用格式

Meade (2024). IsEXCELrunning (https://www.mathworks.com/matlabcentral/fileexchange/56636-isexcelrunning), MATLAB Central File Exchange. 检索时间: .

MATLAB 版本兼容性
创建方式 R2015b
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Spreadsheets 的更多信息

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.0.0.0