The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.matlab

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: mex function for beginners
Replies: 13   Last Post: Aug 3, 2011 12:52 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Ahmed Hakim

Posts: 22
Registered: 1/22/09
Re: mex function for beginners
Posted: May 5, 2011 12:52 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

"Steven_Lord" <> wrote in message <ipud2t$amr$>...
> "Ahmed Hakim" <> wrote in message
> news:iptgvk$g3c$

> > Hello I have problems with using MEX function
> > I purchased some C++ files and I want to use them in MATLAB

> *snip*

> > RTOD.obj : error LNK2019: unresolved external symbol "class Vector __cdecl
> > AccelHarmonic(class Vector const &,class Matrix const
> > &,double,double,class Matrix const &,int,int)"
> > (?AccelHarmonic@@YA?AVVector@@AEBV1@AEBVMatrix@@NN1HH@Z) referenced in
> > function "class Vector __cdecl Accel(double,class Vector const &,int)"
> > (?Accel@@YA?AVVector@@NAEBV1@H@Z) SAT_Filter.mexw64 : fatal error LNK1120:
> > 1 unresolved externals
> > C:\PROGRA~1\MATLAB\R2009B\BIN\MEX.PL: Error: Link of 'SAT_Filter.mexw64'
> > failed.
> > ??? Error using ==> mex at 221
> > Unable to complete successfully.
> >
> > So Can anybody help me?

> The best person to help you determine why RTOD depends on a symbol that the
> linker can't find when the object file is being linked is the person from
> whom you purchased the files.
> --
> Steve Lord
> To contact Technical Support use the Contact Us link on

hello, thanks for replying...
This was a book with its C++ software CD...and these files works on Visual studio C++ and Exe file can be built but I would like to use them with matlab because really I'm not good in C++ specially if it uses Classes like the case here...

So I hope I can find solution ..........

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.