Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

Using COM Servers As Workers

1 Ansicht (letzte 30 Tage)
Phil
Phil am 18 Aug. 2011
Geschlossen: MATLAB Answer Bot am 20 Aug. 2021
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.

Antworten (1)

Friedrich
Friedrich am 18 Aug. 2011
  1 Kommentar
Phil
Phil am 18 Aug. 2011
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.

Diese Frage ist geschlossen.

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by