필터 지우기
필터 지우기

Determine if MATLAB Command Window is open in C# late binding

조회 수: 2 (최근 30일)
Nolin Borrero Jr
Nolin Borrero Jr 2020년 8월 10일
I am using late binding in C# to work with the MATLAB COM Automation Server. I am using this code to create the instance:
Type matlab = Type.GetTypeFromProgID("Matlab.Autoserver");
object instance = Activator.CreateInstance(matlab);
After creating the instance, a MATLAB Command Window opens up. Since it is possible for users to manually close that window before the code calls Quit, I am trying to find a way to check whether or not the command window is still open. Is there a way to do this other than just looking for errors?

답변 (0개)

카테고리

Help CenterFile Exchange에서 Write COM Applications to Work with MATLAB에 대해 자세히 알아보기

태그

제품

Community Treasure Hunt

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

Start Hunting!

Translated by