Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How to use COM to call functions in a M-file from Visual c++

2 views
Skip to first unread message

johnyboy

unread,
Sep 28, 2009, 10:31:16 AM9/28/09
to
Hi

I have a peculiar problem. I have an application written in C++ using
Visual Studio.Net 2003 and I need to call / exchange data with custom
written M-files. Unfortunately, I have Matlab R12 (version 6), so
using the compiler to generate a dll is out of the question because
this version of Matlab was released before visual studio.Net. So the
builder has issues with the C++ compiler.

It seems the only option is to use the COM interface. I am a newbie to
Matlab so I was hoping if someone could provide me with some
information on how to use Matlab as an automation server for VC++ or
is there another method ? Does anyone have any examples or a pointer
to a link?

Any help would be appreciated. Thanks.

johnyboy

unread,
Sep 28, 2009, 1:49:03 PM9/28/09
to

There must be somebody who has interface C++ and Matlab using COM.
Help pls..

Baiju Max

unread,
Oct 7, 2009, 11:47:02 AM10/7/09
to
check this article http://www.codeproject.com/KB/cpp/matlabeng.aspx

johnyboy <kk....@gmail.com> wrote in message <268c6aff-edf0-4299...@x25g2000prf.googlegroups.com>...


> On Sep 28, 7:31?pm, johnyboy <kk.j...@gmail.com> wrote:
> > Hi
> >

> > I have a ?peculiar problem. I have an application written in C++ using

0 new messages