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.11@webcrossing.raydaftYaTP>
Date: Fri, 22 Jun 2007 14:22:18 -0400
References: <ef5b10f.-1@webcrossing.raydaftYaTP> <ef5b10f.10@webcrossing.raydaftYaTP>
Lines: 73
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:415316


Marco D'Angelo wrote:
>
>
> Chris Cottingham wrote:
>>
>>
>>>> Whenever I run my excutable, the program creates a mcr
> file.
>> I
>>>> looked
>>>> in the \toolbox\compiler\deploy
>>>>
>>>> but there was no Win32 file. There were other files in
> the
>> deploy
>>>> subfolder, but they were all .m and .fig files. Why is
it
>> that
>>>> whenever I created the mcr file that it did not also
> create
>> the
>>>> Win32
>>>> file?
>>
>> Sorry, that's the wrong directory. I mean the actual matlab
>> folder...
>> as in C:\Matlab73\toolbox\compiler\deploy\win32
>>
>>> Also, I have successfully run the excutable in another
folder
>> with
>>> just the .ctf and the .exe file. Whenever I run the file,
it
>>> creates
>>> the mcr file. Is my excutable able to run with just these
> files
>>> because I already have MatLab on my computer or is it
because
> I
>>> have
>>> all the files that the excutable originally created in
> another
>>> folder
>>> or is it possible that the excutable is able to run as is
> with
>> just
>>> the above files?
>>
>> I suspect that it is just because matlab of the same version as
> the
>> version used to create the executable is already installed on
the
>> system; part of your system admin's installation procedure
might
>> include the installation of the Matlab Component Runtime
perhaps
>
> Hi guys,
> I'm writing you to ask for some suggest concerning with matlab
> compiler. I have both MLAB 6.5 and the 7.2 version. One the first
> one
> I've the compiler toolbox installed, but not on the 7.2.Anyway I've
> tried - under the 6.5- to compile a scripted .m program file using
> the mcc command, but I was told that mcc command doesn't suite .m
> files. What could I do?What am I missing?
>
> Thx for you attention.
>
> Best regards,
>
> M.D.

Did you first turn the .m file into a function file?