Re: MathLink
- To: mathgroup@smc.vnet.net
- Subject: [mg12197] Re: MathLink
- From: miyaji@taiiku.tsukuba.ac.jp (Chikara MIYAJI)
- Date: Fri, 1 May 1998 03:08:46 -0400
- Organization: University of Tsukuba
- References: <6hpfth$dgn@smc.vnet.net>
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.