Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

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


Math Forum » Discussions » Software » comp.soft-sys.math.mathematica

Topic: Linux & Math. Symbolic Toolbox for Matlab
Replies: 0  

Advanced Search

Back to Topic List Back to Topic List  
Thorsten Spott

Posts: 1
Registered: 12/11/04
Linux & Math. Symbolic Toolbox for Matlab
Posted: Jun 28, 1996 9:46 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

Has anyone got the Mathematica Symbolic Toolbox for Matlab to work under
Linux? Mathlink now works fine with the examples included in the
Mathematica package, after I got some hints from Mathematica support,
which can also be found on
http://www.wolfram.com/support/MathLink/Conflicts/Unix/linux.html

The problem with the interface to Matlab seems to be that Mathematica
wants the a.out-format, whereas Matlab goes ELF. Point 1. of the
web-page mentioned above indicates that the compiler needs the
"-b i486-linuxaout"-option to include the MathLink-libraries correctly.
Since for the compilation of the Symbolic Toolbox Matlab's cmex-script
is used rather than Mathematica's mcc, I defined
CFLAGS="-b i486-linuxaout" in the corresponding line of .mexrc.sh, which
sources the cmex-script. The result are compile-time error messages
like:

math41.o(.text+0x76): undefined reference to '_mexErrMsgTxt'
math41.o(.text+0x17a7): undefined reference to '_mexAtExit'
and so forth.

If I omit the CFLAGS-option, the programme compiles fine, but when I
call up the "math"-routine from Matlab, I get messages like:
Unable to resolve symbol MLOpen
Unable to resolve symbol MLPutFunction
Unable to resolve symbol MLPutFunction
and so forth,
which are obviously due to compiling the programme into an ELF-binary.
Does anybody have a hint how to solve that problem?

Many thanks!

Thorsten







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

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.