Using COM Servers As Workers

I would like to run one instance of matlab to launch some COM servers with both excel and matlab. My question is if it is possible to release the connection to the excel COM server or matlab COM server while scripts or macros are running and later return to it with the main matlab window to get the data. I want to use the main matlab to monitor the progress, but so far I havent been able to release from a running script.

Answers (1)

Friedrich
Friedrich on 18 Aug 2011

1 Comment

Thanks for your response. To be more specific, I load a matlab COM server. I then use .Execute to call a function that takes about 20 seconds to run. What I'd like to do is send the command to run the function, but regain control of matlab so i can do other stuff. Currently, the .Execute command makes matlab be busy for 20 seconds without regaining control until the COM function finishes.

This question is closed.

Tags

Asked:

on 18 Aug 2011

Closed:

on 20 Aug 2021

Community Treasure Hunt

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

Start Hunting!