create an .exe file

1 vue (au cours des 30 derniers jours)
armin
armin le 22 Juil 2011
hello
I create an exe file (from my GUI) with mbuild in matlab but when i run it on a PC that doesn't have matlab recieve an error.Why????????
is it possible to run that without having matlab??(like a program)
thank u

Réponses (2)

the cyclist
the cyclist le 22 Juil 2011
Maybe I am misunderstanding your question, but don't you have to run the command "mcc" to compile the MATLAB code, not the "mbuild" command?
(I haven't used the MATLAB compiler in a very long time, so apologies if this is not correct.)

Robert Cumming
Robert Cumming le 22 Juil 2011
what error do you get?
You need to deploy the MCR installer to run the exe on a PC that doesn't have matlab.
You can generate the MCR from the deploytool.
  1 commentaire
Walter Roberson
Walter Roberson le 22 Juil 2011
And possibly there is a DLL that is missing on the target system.

Connectez-vous pour commenter.

Catégories

En savoir plus sur Application Deployment dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by