Path: news.mathworks.com!not-for-mail
From: "Suyog Tapaswi" <suyog.tapaswi@yahoo.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Matlab & C/c++ Interface
Date: Mon, 9 Nov 2009 16:49:02 +0000 (UTC)
Organization: TCS
Lines: 30
Message-ID: <hd9h5u$imp$1@fred.mathworks.com>
References: <hd1fsp$2h5$1@fred.mathworks.com> <hd1h6k$pun$1@fred.mathworks.com> <hd1hl1$pci$1@fred.mathworks.com> <hd1tgb$iid$1@fred.mathworks.com>
Reply-To: "Suyog Tapaswi" <suyog.tapaswi@yahoo.com>
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 1257785342 19161 172.30.248.37 (9 Nov 2009 16:49:02 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Mon, 9 Nov 2009 16:49:02 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 2076280
Xref: news.mathworks.com comp.soft-sys.matlab:583593


"James Tursa" <aclassyguy_with_a_k_not_a_c@hotmail.com> wrote in message <hd1tgb$iid$1@fred.mathworks.com>...
> "Suyog Tapaswi" <suyog.tapaswi@yahoo.com> wrote in message <hd1hl1$pci$1@fred.mathworks.com>...
> > "James Tursa" <aclassyguy_with_a_k_not_a_c@hotmail.com> wrote in message <hd1h6k$pun$1@fred.mathworks.com>...
> > > "Suyog Tapaswi" <suyog.tapaswi@yahoo.com> wrote in message <hd1fsp$2h5$1@fred.mathworks.com>...
> > > > Hi,
> > > > 
> > > > I want to access some functions/data from C or C++ into Matlab.
> > > > So, is there any way apart fromthe Mex Files to do the interfacing with Matlab & C/C++.
> > > > Can you pls.give any suggestions.
> > > > 
> > > > Thanks & Regards,
> > > > Suyog.
> > > 
> > > Sure. You can write files out (mat or text or binary) in C/C++ and read them in on the MATLAB side. But what is wrong with the mex file approach?
> > > 
> > > James Tursa
> > 
> > Hi,
> > As per the site mex Files should be avoided as far as possible.
> > So, trying to find out any possible alternative.
> 
> Huh? Can you point me to the link that says mex files should be avoided? I use them all the time and they work fine, as long as one knows how to code properly.
> 
> James Tursa

Hi James,
The data which i will be acessing is dynamically changing. it contains some kind of Time Series Data. So, how do i handle this with mex files?
Do, i have to change the code everytime the data changes..

Regards