Matlab Compiling - With deploytool / mcc

Hello, I am trying to compile matlab file using deploytool and/or mcc command. The commands work fine and create .exe file successfully. But, when I open .exe file, I get an error "file_name.exe has stopped working".
I dont understand whats wrong. Please advise.
Thanks.
- Rohan

1 件のコメント

Kaustubha Govind
Kaustubha Govind 2012 年 4 月 4 日
Try running the executable from a command window (as opposed to double-clicking on the icon) and see if any errors are displayed.

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

回答 (1 件)

Geoff
Geoff 2012 年 4 月 4 日

0 投票

Does the target machine have the relevant Visual C++ Redistributables installed? This kind of crash-without-helpful-message is typical of not having the redistributables on your system.

カテゴリ

ヘルプ センター および File ExchangeMATLAB Compiler についてさらに検索

質問済み:

2012 年 4 月 4 日

Community Treasure Hunt

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

Start Hunting!

Translated by