New Reply

How To create an .exe file from Mathematica ?

 
Share Thread Thread Tools
Aug2-12, 05:10 AM   #1
 

How To create an .exe file from Mathematica ?


Hi,

I just wonder is there a way to create an exe file from a Mathematica code, that runs just with double-clicks on it ?

When it starts running it may ask some values for some variables and when one of them entered the others and the result will be calculated automatically. (The variableas are depens eachothers)

Is that possible and if yes please mention a little bit how?
PhysOrg.com
PhysOrg
science news on PhysOrg.com

>> King Richard III found in 'untidy lozenge-shaped grave'
>> Google Drive sports new view and scan enhancements
>> Researcher admits mistakes in stem cell study
Aug2-12, 06:22 AM   #2
 
I'm not sure if mathematica can export to *.exe. What you're probably looking for is a cdf file. It's a file that can be played without mathematica (it's used on wolfram demonstration project ). If you have mathematica 8.0.4 notebooks can be deployed directly by clicking on File -> Deploy .... so make a notebook write something you want to .. something with Manipulate[] if you want to have interactive stuff e.g.

Manipulate[Plot[a*x^2,{x,0,3},AspectRatio-> Automatic,PlotStyle-> {Thick,Magenta}],{a,-5,5}]

Then go to File-> Deploy. You need a free copy of CDFPlayer (available from wolfram's website) to play the cdf on a PC without mathematica (or in a web browser like on demonstrations).

If you have an older mathematica copy (like 8.0.0 or even older) you won't have the Deploy thing in your File tab. In that case, you can convert your nbs to cdfs online , here http://www.wolfram.com/solutions/int...yment/publish/
You need to enter license and email and all that annoying stuff but it should work ...
New Reply

Tags
exe, mathematica
Thread Tools


Similar Threads for: How To create an .exe file from Mathematica ?
Thread Forum Replies
How to create a database in Mathematica Math & Science Software 1
How to create a histogram of a nifti file Engineering, Comp Sci, & Technology Homework 0
matlab function (M-File) that will create & play a sinusoidal waveform Engineering, Comp Sci, & Technology Homework 0
using a batch file to create NAMELIST input file for FORTRAN Programming & Comp Sci 0
MATLAB: Using WavWrite to Create a Single Audio File Math & Science Software 3