[Date Index] [Thread Index] [Author Index]
Re: Simple Question
On 7/10/10 at 3:59 AM, hussain.alqahtani at gmail.com (KFUPM) wrote: >Is it possible in Mathematica to generate a stand-alone code that >doesn't require Mathematica to exist for execution. I have done this >in Fortran and wondering if this exists in Mathematica. The answer greatly depends on precisely what it is you want to do. There are a couple of options. First, there is the Mathematica Player that will run Mathematica code without an installation of Mathematica. For details see Wolfram's web site. The other option would be export expressions as either CForm or FortranForm and use the appropriate compiler to create a stand alone executable. But be aware what can be done in this manner is limited. Expressions consisting of operations that have a direct analog in either C or Fortran can be exported in a form suitable for an external compiler. But specialized functions, such as say Integrate cannot be exported in a form useful to an external compiler.