|
The application should only extract the CTF archive when:
1) The _MCR folder doesn't exist (i.e. the CTF archive has never been
extracted).
2) The _MCR folder is "older" (in terms of times reported by the filesystem)
than the executable. We re-extract in this case to ensure extraction if the
application is re-compiled and re-deployed.
If your filesystem time stamps are not synchronized with the time on the
machine on which you're running the application, you may see redundant
re-extraction.
The several second startup time may also be due to MCR initialization, which
occurs every time the application starts.
"Trevis Crane" <trevis.crane@gmail.com> wrote in message
news:gff7mj$673$1@fred.mathworks.com...
> Hi,
>
> I'm new to using the MATLAB compiler and have one question about running
> the deployed app on the target computer. After insalling MCR and
> doube-clicking the _pkg.exe file which produces the .exe, .ctf, etc.
> files, I double click on the .exe file and the first time it produces a
> subfolder ending in _MCR. Then the app launches. Everytime after that when
> I double-click the .exe it starts up the command prompt window, says it's
> extracting the ctf file and takes several seconds before the app starts.
> Is this normal? It seems like after the first time when the _mcr folder is
> created that it shouldn't have to keep extracting the ctf file.
>
> thanks,
> trevis
|