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!