IsEXCELrunning

Version 1.0.0.0 (1.49 KB) by Meade
Checks if there is a running EXCEL process.
49 Downloads
Updated Tue, 19 Apr 2016 20:09:49 +0000

View License

|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)

Cite As

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

MATLAB Release Compatibility
Created with R2015b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0.0