Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Is MCR required for standalone applications?
Date: Wed, 9 Apr 2008 20:37:02 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 22
Message-ID: <ftj9de$pap$1@fred.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: webapp-02-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1207773422 25945 172.30.248.37 (9 Apr 2008 20:37:02 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Wed, 9 Apr 2008 20:37:02 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1348260
Xref: news.mathworks.com comp.soft-sys.matlab:462061



Hello, 

I have a program written in C, and I wish to add an
algorithm to improve its speed. I have that figured out, and
I need to use a cumulative inverse chi squared distribution.
My variable would be the degrees of freedom; so I would need
to use the MatLab function chi2inv(x,y)

I need to be able to pass the variable y from within my C
code, and compile it as a standalone application. I have
figured out that I need to use MatLab compiler (mcc). 

Now, my question is: Do I need to have MCR installed on the
computer I want to use my application on? Is there any way
around this? From my understanding is that the mcc command
allows me to access my M files from my C code, but it then
uses MCR to do do the computations. Is this correct? And is
there any way to do it so that everything is done from
within one executable? 


Thank you for your time.