Path: news.mathworks.com!not-for-mail
From: "Bill McKeeman" <mckeeman@cs.dartmouth.edu>
Newsgroups: comp.soft-sys.matlab
Subject: Re: C/C++ to matlab
Date: Wed, 7 Oct 2009 19:11:02 +0000 (UTC)
Organization: The MathWorks Inc
Lines: 10
Message-ID: <haip46$d9a$1@fred.mathworks.com>
References: <hae0r2$erv$1@fred.mathworks.com> <hae4mr$nf6$1@fred.mathworks.com> <hae5r1$59l$1@fred.mathworks.com>
Reply-To: "Bill McKeeman" <mckeeman@cs.dartmouth.edu>
NNTP-Posting-Host: webapp-03-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1254942662 13610 172.30.248.38 (7 Oct 2009 19:11:02 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Wed, 7 Oct 2009 19:11:02 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 870398
Xref: news.mathworks.com comp.soft-sys.matlab:575686


"Ongun Palaoglu" <ongun@mac.com> wrote in message <hae5r1$59l$1@fred.mathworks.com>...
> "Maya " <priyaravi_22@yahoo.co.in> wrote in message <hae4mr$nf6$1@fred.mathworks.com>...
> > "Ongun Palaoglu" <ongun@mac.com> wrote in message <hae0r2$erv$1@fred.mathworks.com>...
> > > Hello, I  have a code. I need to change that code for matlab. I am wandering if there is an article so I can read before start. Thank you
> > 
> > check matlab help and read mex file creation. its pretty simple to call c from matlab. 
> 
> Dear Maya, I do not want to call the function. I want to change the language to Matlabs own language . 

In any particular case, someone who knows both languages can do a reasonable job of hand-translating from C++ to MATLAB.  I do not know of any articles that will help you.  A program to do the job could be written, but the output would be less than perfect: either it would fail to translate something or it would make such ugly M code that you would not want to use it.