Is the start up time in compiled applications using 2013b better?

1 次查看(过去 30 天)
I had been been using Matlab 2012b. I had few deployed application using this version which took significant time to load up.
I know Matlab 2013b have many enticing features which provide a more professional installation for the deployed application. My question is did this became better in 2013b version of compiler? I have tried too look in blog posting etc, but couldn't find any comments regarding this. Do you guys have any thoughts or experiences regarding this.
  10 个评论
Amit
Amit 2014-1-30
编辑:Amit 2014-1-31
True but that blog article was written in 2012. I was wondering if that has improved in the recent compiler.
The reason I am interested is because I can upgrade to 2013b, but if the start up is still issue, I'll have to think about it.

请先登录,再进行评论。

回答(1 个)

Image Analyst
Image Analyst 2014-1-31
I haven't done actual timing, but it's not significantly different. The first run, like Matt said, take longer, maybe 90 seconds, because it has to unpack a bunch of stuff. Subsequent runs don't need to do that so they're shorter but still on the order of a minute or so. I have R2013a and R2013b both installed on my computer, both in 32 bit and 64 bit. Maybe I'll do some timings over the weekend.
  3 个评论
Image Analyst
Image Analyst 2014-1-31
It's a hidden directory (I think), but not a temporary one. I tell Windows not to hide any of my folders so I'm really not sure what's technically hidden or not unless I check the attributes. Anyway, if you set the environment variable MCR_CACHE_ROOT to . (dot) you'll see it unpack it right there where the executable lives, instead of that hidden directory. Now you can see all the stuff, and you might be surprised at some of the stuff it includes because it re-builds the directory tree structure. But reboot and that stuff is still there.
Amit
Amit 2014-1-31
That is very helpful. Thank you for that Image Analyst.
It is possible to do this with the installer package. Because I want to give the package to other people, and it will harder to tell them how and what regarding setting MCR_CACHE_ROOT

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 MATLAB Compiler 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by