building dll from maxima to be called by Excel VBA
Subject: building dll from maxima to be called by Excel VBA
From: Richard Fateman
Date: Wed, 10 Jan 2007 07:56:08 -0800
Yes, maxima programs can be compiled and run faster in maxima.
Putting maxima programs into the form of a dll (to be called from excel)
would require some work, and some expertise. There are examples of how to do
this in the documentation for Allegro Common Lisp (specifically, linking
Excel to lisp), but most of the maxima community uses other lisp
implementations. While compiled maxima may be faster than interpreted
Mathcad, it would not be my first choice if speed were important and the
program was ?small?.
RJF
_____
From: maxima-bounces at math.utexas.edu [mailto:maxima-bounces at math.utexas.edu]
On Behalf Of Francois HILLION
Sent: Wednesday, January 10, 2007 7:42 AM
To: maxima at math.utexas.edu
Subject: building dll from maxima to be called by Excel VBA
Hello,
I have developped a small numerical model with Mathcad for the ease of
upgrading and debugging. The model has now to run numerous calculations,
which are always very tedious to trigger by-hand. My idea was to feed the
model and get back results through Excel.
Although it is working, it is really too slow. The only way to get it faster
is to compile the model and have it as a dll. Unfortunately Mathcad does not
offer option ... As I would prefer not rewriting everything in fortran or
c++, I searched on the web for other softwares and found Maxima. I am rather
tempted but first I would like to know if it is possible to compile a Maxima
batch file (.mc, .mac) ?
Thanks for your help,
Francois
___________________________________________________________________________
D?couvrez une nouvelle fa?on d'obtenir des r?ponses ? toutes vos questions !
Profitez des connaissances, des opinions et des exp?riences des internautes
sur Yahoo! Questions/R?ponses http://fr.answers.yahoo.com