| Author |
Comment/Response |
Marko Havu
|
01/19/06 05:00am
You can use MathLink to communicate between the programs. Read "MathLink and External Program Communication" from The Mathematica Book. You can return C double arrays with:
- int MLPutRealList(MLINK link, double *a, long n)
- int MLPutRealArray(MLINK link, double *a, long *dims, char **heads, long d)
and C int arrays with:
- int MLPutIntegerList(MLINK link, int *a, long n)
- int MLPutIntegerArray(MLINK link, int *a, long *dims, char **heads, long d).
You can get help for all these in Mathematica help browser.
URL: , |
|