Deploying stand alone applications
5 ビュー (過去 30 日間)
古いコメントを表示
Hello Every One, I have been trying to make a stand alone application (which should run on a pc without MATLAB) I have generated .exe by using the matlab complier ver 4.7 (2007b). In my target PC, i have installed MCR version 7.7 (taken from host PC where MATLAB is installed) and added c:Programfiles\MATLAB\MATLAB Component Runtime\v77\runtime\win32 to the PATH Variable.
Now i expect that clicking on the .exe file should run the application. But in my case, DOS Prompt opens and closes on its own and creates a file with _mcr appended to the application name (which contains no info) and application won't run.
Pls help me to come out of this issue.
0 件のコメント
回答 (1 件)
Dirk Engel
2025 年 1 月 27 日
Does the application run on the host PC where MATLAB is installed? If yes, then MATLAB runtime (MCR) is not installed or registered correctly on the other PC, even though it looks like you did the right steps. Also, try running the exe from an opened command window. This way you might be able to see an error message printed to the command window, which you would miss otherwise because the window closes immediately.
0 件のコメント
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!