Path: news.mathworks.com!not-for-mail
From: "Sprinceana " <mihaispr@yahoo.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: What is a mex file and how it's generated?
Date: Sun, 19 Apr 2009 19:27:01 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 29
Message-ID: <gsftu5$3ql$1@fred.mathworks.com>
References: <gsfbl8$8af$1@fred.mathworks.com> <gsftml$iih$1@fred.mathworks.com>
Reply-To: "Sprinceana " <mihaispr@yahoo.com>
NNTP-Posting-Host: webapp-05-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1240169221 3925 172.30.248.35 (19 Apr 2009 19:27:01 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Sun, 19 Apr 2009 19:27:01 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1740796
Xref: news.mathworks.com comp.soft-sys.matlab:533898


"Jiro Doke" <jiro.doke@mathworks.com> wrote in message <gsftml$iih$1@fred.mathworks.com>...
> "Sprinceana " <mihaispr@yahoo.com> wrote in message <gsfbl8$8af$1@fred.mathworks.com>...
> > I'm a newbie and I dont' understand the term of mex file(matlab executable).
> > 
> > Can anyone tell me what is a mex file and how it's generated(with a concrete example please):
> > 
> > not using mcc command this I know.
> > 
> > 
> > A short explanation and concrete should advise me about this term!
> > 
> > I wait your response!
> 
> Well, I think the documentation is the best place to get an accurate explanation:
> 
> http://www.mathworks.com/access/helpdesk/help/techdoc/matlab_external/f29502.html
> 
> They're basically used to run C and Fortran code in MATLAB. Here are the examples for C and Fortran (from the documentation)
> 
> http://www.mathworks.com/access/helpdesk/help/techdoc/matlab_external/f7667.html
> http://www.mathworks.com/access/helpdesk/help/techdoc/matlab_external/f7667dfi1.html
> 
> jiro

Thank you Jiro for your well explanation and links provided!

Best regards,

Michael