| Author |
Comment/Response |
Chad
|
07/16/03 11:26pm
I managed to get a small app to work with MathLink and the Mathematica kernel. The one problem I can see which might arise is if someone with a different version (I'm using 4.2) tries to use the program without Mathematica 4.2.
Inside one function, I've coded in the arguments.
int argc = 4;
char *argv[5] = {"-linkname",
" '/Applications/Mathematica 4.2.app/Contents/MacOS/MathKernel' -mathlink",
"-linkmode",
"launch",
NULL};
The kernel is in the /Applications/Mathematica 4.2.app folder, but this would change if someone is using a non 4.2 version. Is there a way to get around this problem, or might the only way be to give the user the option to select their version of Mathematica from a list?
URL: , |
|