RE: Mathematica 6.0 math.exe question
- To: mathgroup at smc.vnet.net
- Subject: [mg79473] RE: [mg79409] Mathematica 6.0 math.exe question
- From: "David Annetts" <davidannetts at aapt.net.au>
- Date: Fri, 27 Jul 2007 05:59:01 -0400 (EDT)
- References: <200707260929.FAA05445@smc.vnet.net>
Hi Yvon > I am trying to run math.exe with a .m file in Windows XP. > The testAuto.m file has the following: > > Integrate[Exp[I\[Pi]],x] > Plot[Sin[x+Sqrt[2]Sin[x]],{x,0,2\[Pi]}]; > Export["c:\\pods\\testOut.gif",%] > Quit[] > > In the command prompt, I type math.exe -run testAuto.m I don't know where the -run came from, but math < testAuto.m > testAuto.out Has worked since 2.2. BTW, it's great to see that the Plot[] is done from the front end rather than terminal graphics. Regards, Dave.
- References:
- Mathematica 6.0 math.exe question
- From: Yvon <ymgrigsb@yahoo.com>
- Mathematica 6.0 math.exe question