I frequently work in 2013b and 2015b, both 32bit. I have recently noticed a strange issue after getting a new machine (Windows 10, was previously on Win 7). When I try
Excel = actxGetRunningServer('Excel.Application');
everything works as expected in 2015b 32bit. However, in 2013b, I get:
Error using actxGetRunningServer
The server 'Excel.Application' is not running on this system.
Even though FOR SURE there is an instance of Excel running. If I launch 2015b and 2013b simultaneously, the function will work correctly in 2015b and not in 2013b. The strange thing is, that since I still have access to my old machine, I fired it up - and the function works correctly in BOTH versions. So something to do with Windows 10 maybe?
To make things a bit more complicated, if I create a new instance of Excel through
Excel2 = actxserver('Excel.Application');
Excel = actxGetRunningServer('Excel.Application');
This second call to actxGetRunningServer will find the running (newly created) server correctly. Not really sure what's going on here, hoping someone has an idea.