필터 지우기
필터 지우기

Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

Using COM Servers As Workers

조회 수: 1 (최근 30일)
Phil
Phil 2011년 8월 18일
마감: MATLAB Answer Bot 2021년 8월 20일
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.

답변 (1개)

Friedrich
Friedrich 2011년 8월 18일
  댓글 수: 1
Phil
Phil 2011년 8월 18일
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.

이 질문은 마감되었습니다.

태그

Community Treasure Hunt

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

Start Hunting!

Translated by