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.
0 个评论
回答(1 个)
Kaustubha Govind
2011-2-18
For compiled applications, you can check isdeployed.
3 个评论
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
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 Center 和 File Exchange 中查找有关 Call MATLAB from C 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!