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
Kaustubha Govind
Kaustubha Govind on 13 Jun 2013
Edited: Kaustubha Govind on 13 Jun 2013
Please specify the error message that you see and the code that causes it.
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?

Categories

Find more on Startup and Shutdown in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!