From: Ender <jr147@msstate.edu>
Path: news.mathworks.com!newsfeed-00.mathworks.com!webcrossing
Newsgroups: comp.soft-sys.matlab
Subject: Re: MatLab Compiler
Message-ID: <ef5b10f.21@webcrossing.raydaftYaTP>
Date: Mon, 25 Jun 2007 16:47:08 -0400
References: <ef5b10f.-1@webcrossing.raydaftYaTP>
Lines: 75
NNTP-Posting-Host: 128.158.209.36
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
Xref: news.mathworks.com comp.soft-sys.matlab:415688


Ender wrote:
>
>
> Chris Cottingham wrote:
>>
>>
>> Ender wrote:
>>>
>>>
>>> My question is concerning this statement:
>>>
>>> "Component Runtime (MCR) corresponding to the Matlab
version
> in
>>>>> which
>>>>> the executable was compiled must first be
installed.
>>>>>
>>>>> This can be found in the matlab directory, then
>>>>> \toolbox\compiler\deploy\win32\. The file itself is
>> called
>>>>> MCRInstaller.exe, and is approximately 150Mb."
>>>
>>> Could someone explain to me how this works. I want to be
able
> to
>>> run
>>> my excutable on another computer that doesn't have MatLab.
I
> can
>>> run
>>> my excutable in its specified folder without running
MatLab,
> but
>>> other who try running my excutable on machines that do not
> have
>>> MatLab are having trouble because an error message comes up
>> saying
>>> that the excutable could not find a .dll file.
>>> If I am understanding this correctly, I need to have the
MCRI
>>> Installer.exe file with my excutable whenever I want to run
> the
>>> excutable. Also, if anyone wants to run my excutable on a
> machine
>>> that does not have MatLab do they have to run the MCRI
> Installer
>>> first before they run the excutable?
>>
>> You don't need the MCRInstaller.exe in the same folder, but you
> do
>> need to run it on machines that do not have matlab on before
you
>> run
>> the executable
>
> Whenever I send my excutable to another user, I must make sure that
> I
> send the MCRInstaller.exe? Correct. Once they install the
> MCRINstaller.exe what files must they install from the subsequent
> files that the installer creates.

The MCRInstaller.exe is too big for me send to the end user so that
the user can run the program. This doesn't make sense. If I am
supposed to have this file to run the program on a computer that
doesn't have MatLab, yet it is too big send to the other machine
what's the use of the compiler?

Also I have assumed that my version of MatLab has compiled the
program that I specified. I am assuming this based of of the fact
that my computer:
1. created an myfunction.exe file
2. I have the MCRInstaller.exe in my toolbox

I need some advice on what to do next