Borrar filtros
Borrar filtros

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

4 visualizaciones (últimos 30 días)
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,

Respuestas (2)

Titus Edelhofer
Titus Edelhofer el 7 de Mayo de 2015
Hi Hoda,
if it creates the .exe what other script are you expecting? Can you start the executable?
Titus

Hoda
Hoda el 7 de Mayo de 2015
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 comentario
Titus Edelhofer
Titus Edelhofer el 7 de Mayo de 2015
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

Iniciar sesión para comentar.

Categorías

Más información sobre Standalone Applications en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by