필터 지우기
필터 지우기

Calling MATLAB Compiled exe File

조회 수: 3 (최근 30일)
Ahmed
Ahmed 2011년 8월 15일
Dear all,
I have some m files that I compiled them to an exe file. The problem is that opening or calling the exe from dos takes long time specialy when it is opened in the first time so, Is there any way to make the exe startup faster.
Thanks

답변 (1개)

Chirag Gupta
Chirag Gupta 2011년 8월 15일
The first time an exe is called, the exe unarchives some supporting files into a temporray folder and hence there might be some delay. Also, typically when you run a compiled application, the MCR needs to start up in the background which also contributes to the time. On the whole, running an exe is like running any typical windows application (usually requires a moment to start up)
  댓글 수: 2
Ahmed
Ahmed 2011년 8월 15일
But is there a way to get a faster startup, what about trying to keep this temporary folder to avoid unarchiving in the first time the exe starts.
Chirag Gupta
Chirag Gupta 2011년 8월 15일
search the documentation for MCRCACHEDIR, you should be able to set an environment variable to point to a location

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

카테고리

Help CenterFile Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by