Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'Finding the math kernel from OS X' topicStudent Support Forum > General > "Finding the math kernel from OS X"

Next Comment >Help | Reply To Topic
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: ,

Subject (listing for 'Finding the math kernel from OS X')
Author Date Posted
Finding the math kernel from OS X Chad 07/16/03 11:26pm
Re: Finding the math kernel from OS X Forum Modera... 08/08/03 11:32am
Next Comment >Help | Reply To Topic