create an .exe file

1 次查看(过去 30 天)
armin
armin 2011-7-22
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

回答(2 个)

the cyclist
the cyclist 2011-7-22
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 2011-7-22
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 个评论
Walter Roberson
Walter Roberson 2011-7-22
And possibly there is a DLL that is missing on the target system.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Application Deployment 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by