Thread Subject: Help integrating Matlab and Visual C++

Subject: Help integrating Matlab and Visual C++

From: Tiago da Silva

Date: 23 Jun, 2008 10:15:05

Message: 1 of 4

Hi there,

I just got Matlab r2008a from my University here in Japan,
and I hoped to use it from Visual C++ 2008.

The problem is, when I finished installing it, I could not
find "matlab.hpp", even though I have performed a full instal...

What am I doing wrong?

Thx in advance,

Tiago

Subject: Help integrating Matlab and Visual C++

From: Ashish Uthama

Date: 23 Jun, 2008 22:53:31

Message: 2 of 4

If you were looking to compile C++ code along with "MATLAB code" (Which is
why I presume you are looking for matlab.hpp), this is no longer possible
since R14SP3 (IIRC).

You either create a DLL using MATLAB compiler and then use it in your code
or consider using the COM interface to the MATLAB Engine:


Please find more details online at:
     http://www.mathworks.com/access/helpdesk/help/techdoc/matlab_external/f15075.html
Or please paste this in the MATLAB command window:
     web([docroot,'/techdoc/matlab_external/f15075.html'])


Or maybe you could tell us exactly how you planned to "use it from Visual
C++ 2008".



On Mon, 23 Jun 2008 06:15:05 -0400, Tiago da Silva <besbatti@gmail.com>
wrote:

> Hi there,
>
> I just got Matlab r2008a from my University here in Japan,
> and I hoped to use it from Visual C++ 2008.
>
> The problem is, when I finished installing it, I could not
> find "matlab.hpp", even though I have performed a full instal...
>
> What am I doing wrong?
>
> Thx in advance,
>
> Tiago

Subject: Help integrating Matlab and Visual C++

From: Tiago da Silva

Date: 24 Jun, 2008 01:50:19

Message: 3 of 4

I didn't know it was no longer possible...

whar I wanted to do was to use some camera calibration
routines I wrote in Matlab, and some other functions such as
singular value decomposition and some other ones from the
Image Processing library.

Thanks for the links. I'm checking them out.

Tiago

"Ashish Uthama" <ashishu@ece.ubc.ca> wrote in message
<op.uc74jhe3xwvkfj@uthamaa.dhcp.mathworks.com>...
> If you were looking to compile C++ code along with "MATLAB
code" (Which is
> why I presume you are looking for matlab.hpp), this is no
longer possible
> since R14SP3 (IIRC).
>
> You either create a DLL using MATLAB compiler and then use
it in your code
> or consider using the COM interface to the MATLAB Engine:
>
>
> Please find more details online at:
>
http://www.mathworks.com/access/helpdesk/help/techdoc/matlab_external/f15075.html
> Or please paste this in the MATLAB command window:
> web([docroot,'/techdoc/matlab_external/f15075.html'])
>
>
> Or maybe you could tell us exactly how you planned to "use
it from Visual
> C++ 2008".
>
>
>
> On Mon, 23 Jun 2008 06:15:05 -0400, Tiago da Silva
<besbatti@gmail.com>
> wrote:
>
> > Hi there,
> >
> > I just got Matlab r2008a from my University here in Japan,
> > and I hoped to use it from Visual C++ 2008.
> >
> > The problem is, when I finished installing it, I could not
> > find "matlab.hpp", even though I have performed a full
instal...
> >
> > What am I doing wrong?
> >
> > Thx in advance,
> >
> > Tiago
>

Subject: Help integrating Matlab and Visual C++

From: Tiago da Silva

Date: 24 Jun, 2008 03:44:03

Message: 4 of 4

I have found a very good and simple to follow tutorial in here

www.soe.ucsc.edu/classes/cmps060m/Spring06/ma/cdabney19/MatLab%20API%20to%20C++.ppt

Cheers

"Tiago da Silva" <besbatti@gmail.com> wrote in message
<g3pjsr$rgi$1@fred.mathworks.com>...
> I didn't know it was no longer possible...
>
> whar I wanted to do was to use some camera calibration
> routines I wrote in Matlab, and some other functions such as
> singular value decomposition and some other ones from the
> Image Processing library.
>
> Thanks for the links. I'm checking them out.
>
> Tiago
>
> "Ashish Uthama" <ashishu@ece.ubc.ca> wrote in message
> <op.uc74jhe3xwvkfj@uthamaa.dhcp.mathworks.com>...
> > If you were looking to compile C++ code along with "MATLAB
> code" (Which is
> > why I presume you are looking for matlab.hpp), this is no
> longer possible
> > since R14SP3 (IIRC).
> >
> > You either create a DLL using MATLAB compiler and then use
> it in your code
> > or consider using the COM interface to the MATLAB Engine:
> >
> >
> > Please find more details online at:
> >
>
http://www.mathworks.com/access/helpdesk/help/techdoc/matlab_external/f15075.html
> > Or please paste this in the MATLAB command window:
> > web([docroot,'/techdoc/matlab_external/f15075.html'])
> >
> >
> > Or maybe you could tell us exactly how you planned to "use
> it from Visual
> > C++ 2008".
> >
> >
> >
> > On Mon, 23 Jun 2008 06:15:05 -0400, Tiago da Silva
> <besbatti@gmail.com>
> > wrote:
> >
> > > Hi there,
> > >
> > > I just got Matlab r2008a from my University here in Japan,
> > > and I hoped to use it from Visual C++ 2008.
> > >
> > > The problem is, when I finished installing it, I could not
> > > find "matlab.hpp", even though I have performed a full
> instal...
> > >
> > > What am I doing wrong?
> > >
> > > Thx in advance,
> > >
> > > Tiago
> >
>

Tags for this Thread

Everyone's Tags:

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Tag Activity for This Thread
Tag Applied By Date/Time
c Tiago da Silva 23 Jun, 2008 06:20:03
matlabhpp Tiago da Silva 23 Jun, 2008 06:20:03
visual studio Tiago da Silva 23 Jun, 2008 06:20:03
rssFeed for this Thread

Contact us at files@mathworks.com