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

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,

Answers (2)

Hi Hoda,
if it creates the .exe what other script are you expecting? Can you start the executable?
Titus
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 Comment

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

Sign in to comment.

Categories

Asked:

on 7 May 2015

Commented:

on 7 May 2015

Community Treasure Hunt

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

Start Hunting!