フィルターのクリア

How to call outside application in deploytool

4 ビュー (過去 30 日間)
Hienbn
Hienbn 2012 年 6 月 17 日
Hi everyone, I use deploytool to compile my program, in which I call an outside application( my application which was compiled in C++) But I error ocurred with "My App.exe is not recognized as an internal or external command, operable program or batch file". Could any one help me? Thank you all a lot.
  3 件のコメント
Hienbn
Hienbn 2012 年 6 月 18 日
Thank you Roberson,
I have been trying a lot as your suggestion, But I still could not make it work.
I have my own Application named "A.exe", I tried to use deploytool of Matlab to compile it. But the problem occurred as my above question. Could you make a short example how to use "ctfroot".
Thank you so much.
Walter Roberson
Walter Roberson 2012 年 6 月 18 日
Are you bundling your application with the MATLAB .exe you are building? If so then it is going to be left in the directory named by ctfroot() and you can use ctfroot() to build the path for invoking the application.
Remember that the MATLAB application's working directory will *not* be the same as the directory that the .exe is started from.

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeEnvironment and Settings についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by