Compiled standalone will not run properly

1 view (last 30 days)
Tianyou Chen
Tianyou Chen on 13 Jun 2013
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 Comments
Tianyou Chen
Tianyou Chen on 13 Jun 2013
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

Sign in to comment.

Answers (1)

Walter Roberson
Walter Roberson on 13 Jun 2013
Have you installed the MCR for R2013a into the target machine?
  1 Comment
Tianyou Chen
Tianyou Chen on 13 Jun 2013
Hi Walter,
Thanks. yes I have. Tianyou

Sign in to comment.

Categories

Find more on MATLAB Compiler in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!