MathGroup Archive 2003

[Date Index] [Thread Index] [Author Index]

Search the Archive

matlab calling mathematica

  • To: mathgroup at smc.vnet.net
  • Subject: [mg43397] matlab calling mathematica
  • From: Gary.Anderson at frb.gov
  • Date: Tue, 16 Sep 2003 04:35:47 -0400 (EDT)
  • Sender: owner-wri-mathgroup at wolfram.com

hello,

i have matlab v6.x  and mathematica 4.x and 5.0.
i would like to invoke mathematica code and return various matrices
for use within a matlab session.

is there a more uptodate version of the code found at
http://library.wolfram.com/infocenter/MathSource/624/ ?

applying mex  to math41.c from that download produces the output below.

but, substituting the newer mxIsChar for the obsolete mxIsString produces
numerous compilation errors


thanks for any insights you can offer.
gary

++++++++++++++++some mex
output++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
peakmx1(137)% mex CC=gcc CFLAGS=-dalign -O
-I/opt/mathematica/AddOns/MathLink/DevelopersKits/Solaris/CompilerAdditions/

-L/opt/mathematica/AddOns/MathLink/DevelopersKits/Solaris/CompilerAdditions/
 -lML math41.c -o math.mex
math41.c:146: arguments given to macro `mxIsString'
math41.c:157: arguments given to macro `mxIsString'
math41.c:157: arguments given to macro `mxIsString'
math41.c:160: arguments given to macro `mxIsString'
math41.c:213: arguments given to macro `mxIsString'
math41.c:213: arguments given to macro `mxIsString'
math41.c:214: arguments given to macro `mxIsString'
math41.c:214: arguments given to macro `mxIsString'

    mex: compile of 'math41.c' failed.

peakmx1(138)%





  • Prev by Date: Re: Summation w/ Functions
  • Next by Date: RE: Pick up coordinates along different contours.
  • Previous by thread: Re: Summation w/ Functions
  • Next by thread: How Does ImportAutoReplacement Work?