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

Examples of instances that don't have a command line would be code called through the MATLAB Engine, and compiled applications.

Antworten (1)

Kaustubha Govind
Kaustubha Govind am 18 Feb. 2011
For compiled applications, you can check isdeployed.

3 Kommentare

What does isdeployed return when being called from a C++ program through the MATLAB engine?
It should return false - there might be something else you can check for MATLAB Engine calls, but I don't know how.
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?

Melden Sie sich an, um zu kommentieren.

Kategorien

Produkte

Gefragt:

am 18 Feb. 2011

Community Treasure Hunt

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

Start Hunting!

Translated by