How do I detect whether the MATLAB instance being used has a command line interface?
Show older comments
Examples of instances that don't have a command line would be code called through the MATLAB Engine, and compiled applications.
Answers (1)
Kaustubha Govind
on 18 Feb 2011
0 votes
For compiled applications, you can check isdeployed.
3 Comments
Oliver Woodford
on 18 Feb 2011
Kaustubha Govind
on 18 Feb 2011
It should return false - there might be something else you can check for MATLAB Engine calls, but I don't know how.
Kaustubha Govind
on 18 Feb 2011
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?
Categories
Find more on Introduction to Installation and Licensing in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!