MathGroup Archive 1998

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

Search the Archive

Re: MathLink



In article <6hpfth$dgn@smc.vnet.net>, Beat Zahnd
<zahnb@student.isbiel.ch> wrote:

>Is there a possibility to pass a complete Mathematica-Instruction-String
>(Integrate[Sin[x],x]) through MathLink to the Kernel, or must I brake
>it into single-functions?

Hello Zahnd,

I didn't test but I think you can send string wraped with
ToExpression[..], like

Send ToExpression["Integrate[Sin[x],x]"] expression.

Also, to start up Kernel,  I can't understand the reason but check
carefully
about arguments single quote, double quote, and set '\0' in last
argument.

>I'm writing a programm who calls Mathematica. For starting the Kernel I
>use MLOpenArgv() it works fine. But when I use MLOpenString() nothing
>works. What is the corrct String when MathKernel ist locatet at
>'D:\Programme\...\3.0\MathKernel'? I have tried "-linkname
>D:\Programme\...\3.0\MathKernel -mathlink" but it didn't work.

  • Prev by Date: Re: Free 1998 Worldwide Mathematica Conference Poster
  • Next by Date: Re: creating packages
  • Prev by thread: Re: Free 1998 Worldwide Mathematica Conference Poster
  • Next by thread: MathLink