Compiled standalone will not run properly

조회 수: 1 (최근 30일)
Tianyou Chen
Tianyou Chen 2013년 6월 13일
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?
  댓글 수: 1
Tianyou Chen
Tianyou Chen 2013년 6월 13일
Hi Walter,
Thanks. yes I have. Tianyou

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by