MathGroup Archive 2007

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

Search the Archive

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.


  • Prev by Date: Re: Searching list for closest match to p
  • Next by Date: Re: Volterra Equation?
  • Previous by thread: Mathematica 6.0 math.exe question
  • Next by thread: Re: Mathematica 6.0 math.exe question