[Date Index] [Thread Index] [Author Index]
Re: a simple question
Alex Rozenfeld wrote: > > Hi. I'm a last year student of Physics in the Universidad > Nacional de La Plata (Argentina), and i'm doing a graduating research > work. It's very helpful to me to use the Mathematica 2.2. But, in order > to improve speed of calculations i wrote some code in "c" language. Now, > it is imposible to me to run this code from mathematica 2.2. The purpose > of this mail is to find some information about how to do this. If > could someone help me, i will be very grateful. > Thank you very much. > Alex. There are two ways: 1) if you have mathematica 2.2.2 or later, you can use mathlink. 2) you can use the command Run to run a program. Have the c program use a data file as input and output its results to a file. Mathematica can edit and set up the input file, then read the output when your c program is done.