How do I detect whether the MATLAB instance being used has a command line interface?

조회 수: 12 (최근 30일)
Examples of instances that don't have a command line would be code called through the MATLAB Engine, and compiled applications.

답변 (1개)

Kaustubha Govind
Kaustubha Govind 2011년 2월 18일
For compiled applications, you can check isdeployed.
  댓글 수: 3
Kaustubha Govind
Kaustubha Govind 2011년 2월 18일
It should return false - there might be something else you can check for MATLAB Engine calls, but I don't know how.
Kaustubha Govind
Kaustubha Govind 2011년 2월 18일
I wonder if trying to get the Java IDE instance as described in the solution here might provide a direction: http://stackoverflow.com/questions/1924286/is-there-a-way-to-change-the-title-of-the-matlab-command-window. You will probably get an empty object?

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Call MATLAB from C에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by