Hi everyone,
I am currently using a script to write a Maxima batch file which I run
by hand in wxMaxima with
(%i3) batchload("Weights.wxm");
All the outputs of this batch file is written to another text file.
I am looking for a way to run this batch file within the scrip without
launching a Maxima session. After searching through the manuals and
tutorials, I found the following lines to run Maxima in command mode:
$ /Applications/Maxima.app/Contents/MacOS/Maxima
--batch-string="diff(sin(x),x);"
$ /Applications/wxMaxima.app/Contents/MacOS/wxmaxima
--batch-string="diff(sin(x),x);"
However, when I tried that, I opened another Maxima terminal without
running the commands and the command doesn't even show up. Does anyone
have any suggestions on how to run maxima in command mode with
something similar to
/Applications/Maxima.app/Contents/MacOS/Maxima
--batch-string="batchload('CoorWeights.wxm');"
I've been searching for a solution for some months now and have came
to a point where I cannot afford to run this step by hand.
I am using wxMaxima 12.04.0 and Maxima 5.27.0 for Mac OS X 10.6.8.
I thank you in advance for your help.
Sincerely
Jordan Ko