does Maxima have a way to be run from Octave?



Just run MAXIMA from the command line, and pipe its input and output
appropriately.

You can even do this on Windows (the program to run is MAXIMA.BAT, located
in the BIN subdirectory under your MAXIMA installation directory.) For
instance:

C:\Program Files\Maxima-5.9.1\bin>copy con stuff.mac
diff(x^3,x);
^Z
        1 file(s) copied.

C:\Program Files\Maxima-5.9.1\bin>type stuff.mac | maxima.bat >result.txt

C:\Program Files\Maxima-5.9.1\bin>type result.txt
Maxima 5.9.1 http://maxima.sourceforge.net
Using Lisp Kyoto Common Lisp GCL 2.6.5 (aka GCL)
Distributed under the GNU Public License. See the file COPYING.
Dedicated to the memory of William Schelter.
This is a development version of Maxima. The function bug_report()
provides bug reporting information.
(%i1)
                                        2
(%o1)                                3 x
(%i2)
C:\Program Files\Maxima-5.9.1\bin>


Viktor


 

-----Original Message-----
From: maxima-admin@math.utexas.edu [mailto:maxima-admin at math] On
Behalf Of Doug Stewart
Sent: Wednesday, May 11, 2005 6:29 PM
Cc: maxima@math.utexas.edu
Subject: does Maxima have a way to be run from Octave?

Is there a way to run Maxima from another program and get some results 
back to the calling program?
Doug Stewart

_______________________________________________
Maxima mailing list
Maxima@www.math.utexas.edu
http://www.math.utexas.edu/mailman/listinfo/maxima