Compiled standalone will not run properly

1 次查看(过去 30 天)
Hi all,
I am using R2013a (compiler 4.18.1) to compile a standalone program. after the compilation, I can run the .exe on the machine it was compiled (more or less, because it fails sometimes, too) but not on other machines. To have it run at all, the root directory where the .m file resides has to be added in another machine.
by the way, it is just one simple function file.
Anyone enountered similar issues?
Thank you in advance,
Tianyou
  2 个评论
Kaustubha Govind
Kaustubha Govind 2013-6-13
编辑:Kaustubha Govind 2013-6-13
Please specify the error message that you see and the code that causes it.
Tianyou Chen
Tianyou Chen 2013-6-13
Hi Kaustubha,
Thanks. it works now, but I do not know why - the same .exe works after a second try.
Thanks for your attention,
Tianyou

请先登录,再进行评论。

回答(1 个)

Walter Roberson
Walter Roberson 2013-6-13
Have you installed the MCR for R2013a into the target machine?

类别

Help CenterFile Exchange 中查找有关 Manage Products 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by