Calling MATLAB Compiled exe File
1 次查看(过去 30 天)
显示 更早的评论
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
0 个评论
回答(1 个)
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 个评论
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 Center 和 File Exchange 中查找有关 Startup and Shutdown 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!