Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

Using COM Servers As Workers

1 visualización (últimos 30 días)
Phil
Phil el 18 de Ag. de 2011
Cerrada: MATLAB Answer Bot el 20 de Ag. de 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.

Respuestas (1)

Friedrich
Friedrich el 18 de Ag. de 2011
  1 comentario
Phil
Phil el 18 de Ag. de 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.

La pregunta está cerrada.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by