フィルターのクリア

What can be the reasons that mcc command does not generate wrapper file while creats exe file?

4 ビュー (過去 30 日間)
I am trying to use mcc command to compile my code, although Matlab recognizes Microsoft Windows SDK 7.1 as compiler and generates the exe file, it does not create any script file. How can I fix this?
Thanks,

回答 (2 件)

Titus Edelhofer
Titus Edelhofer 2015 年 5 月 7 日
Hi Hoda,
if it creates the .exe what other script are you expecting? Can you start the executable?
Titus

Hoda
Hoda 2015 年 5 月 7 日
Hi Titus
Thanks for your reply. Apparently the executable file it works, though I haven't tried running the file on another computer that does not have Matlab. I need a shell script file like run_mycode.sh.
Hoda
  1 件のコメント
Titus Edelhofer
Titus Edelhofer 2015 年 5 月 7 日
Hi Hoda,
"run_mycode.sh" sounds like you want to run the executable on a Linux box? That's not possible, you have to compile on the same platform. For running the executable on another (Windows) machine take a look at the section "deploy to others" in the documentation. Depending on the version of MATLAB you are using it's basically running the MatlabCompilerRuntime installer once on the target machine. This you find in matlab\toolbox\compiler\deploy\win64 ...
Titus

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

カテゴリ

Help Center および File ExchangeStandalone Applications についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by