Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
app deployment question

Subject: app deployment question

From: Trevis Crane

Date: 12 Nov, 2008 18:36:03

Message: 1 of 3

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

Subject: app deployment question

From: Ashish Uthama

Date: 12 Nov, 2008 19:53:22

Message: 2 of 3

On Wed, 12 Nov 2008 13:36:03 -0500, Trevis Crane <trevis.crane@gmail.com>
wrote:

> 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

A quick search for "ctf extract compiler" at
http://www.mathworks.com/support/ should give you the answer.

Subject: app deployment question

From: Peter Webb

Date: 13 Nov, 2008 15:11:38

Message: 3 of 3

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

Tags for this Thread

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us