From: Amit on
I have compiled an application and when i transfer it to another
system which does not have Matlab installed on it.
And when i run the exe file..
I am getting an error as:

This application has failed to start because mclmcrrt72.dll was not
found. Re-insatlling the application may fix the problem.

I am not getting why this error is occuring..
Can anybody help me with this..
Thanks,
From: Scott on
Amit wrote:
>
>
> I have compiled an application and when i transfer it to another
> system which does not have Matlab installed on it.
> And when i run the exe file..
> I am getting an error as:
>
> This application has failed to start because mclmcrrt72.dll was not
> found. Re-insatlling the application may fix the problem.
>
> I am not getting why this error is occuring..
> Can anybody help me with this..
> Thanks,
Amit,

After you have compiled you need to do one of these two things:

1) Run the executable once on the system where it was compiled to
create the _mcr directory. You need to move the .exe, the .ctf and
the _mcr directory to the new system in that order to preserve the
time stamping order of the files.

or

2) You can just move the .exe and .ctf files to the new system and
then run the matlab mcr installer to create the _mcr on the new
system without running the exectuable.

hth,
Scott
From: amit on
ya i have done those things and after running the exe on the other
system i am getting this error. I have the _mcr directory too present
there and the ctf file.I am not getting whats the error is ...
Can u suggest somehtin
From: jay willis on
Hello I got precisely the same problem and the resolutions you
suggest make no sense to me and neither do they seem to work. What's
the point of compiling an exe file if it can't work on other systems.
Its a waste of time to me and caused me quite considerable
inconvenience. Is there any way I can fix it on the new/alternate
system without recompilation. And what is the _mcr creator you're
talking about - which button do I press! ie what's the Matlab mcr
installer and where do I get it.

Thanks, Jay

Scott wrote:
>
>
> Amit wrote:
>>
>>
>> I have compiled an application and when i transfer it to
another
>> system which does not have Matlab installed on it.
>> And when i run the exe file..
>> I am getting an error as:
>>
>> This application has failed to start because mclmcrrt72.dll was
> not
>> found. Re-insatlling the application may fix the problem.
>>
>> I am not getting why this error is occuring..
>> Can anybody help me with this..
>> Thanks,
> Amit,
>
> After you have compiled you need to do one of these two things:
>
> 1) Run the executable once on the system where it was compiled to
> create the _mcr directory. You need to move the .exe, the .ctf and
> the _mcr directory to the new system in that order to preserve the
> time stamping order of the files.
>
> or
>
> 2) You can just move the .exe and .ctf files to the new system and
> then run the matlab mcr installer to create the _mcr on the new
> system without running the exectuable.
>
> hth,
> Scott
From: vp on
You will need to run the application MCRINSTALLER.EXE which is
located at $MATLAB\toolbox\compiler\deploy\win32
on the host machine before you launch your application
HTH
Vihang

jay willis wrote:
>
>
> Hello I got precisely the same problem and the resolutions you
> suggest make no sense to me and neither do they seem to work.
> What's
> the point of compiling an exe file if it can't work on other
> systems.
> Its a waste of time to me and caused me quite considerable
> inconvenience. Is there any way I can fix it on the new/alternate
> system without recompilation. And what is the _mcr creator you're
> talking about - which button do I press! ie what's the Matlab mcr
> installer and where do I get it.
>
> Thanks, Jay
>
> Scott wrote:
>>
>>
>> Amit wrote:
>>>
>>>
>>> I have compiled an application and when i transfer it to
> another
>>> system which does not have Matlab installed on it.
>>> And when i run the exe file..
>>> I am getting an error as:
>>>
>>> This application has failed to start because mclmcrrt72.dll
> was
>> not
>>> found. Re-insatlling the application may fix the problem.
>>>
>>> I am not getting why this error is occuring..
>>> Can anybody help me with this..
>>> Thanks,
>> Amit,
>>
>> After you have compiled you need to do one of these two things:
>>
>> 1) Run the executable once on the system where it was compiled
to
>> create the _mcr directory. You need to move the .exe, the .ctf
> and
>> the _mcr directory to the new system in that order to preserve
> the
>> time stamping order of the files.
>>
>> or
>>
>> 2) You can just move the .exe and .ctf files to the new system
> and
>> then run the matlab mcr installer to create the _mcr on the new
>> system without running the exectuable.
>>
>> hth,
>> Scott