Sign up ×
Mathematica Stack Exchange is a question and answer site for users of Mathematica. It's 100% free, no registration required.

I want to generate some C code, and the reference here says that Mathematica comes with a mdefs.h file, but I cannot find it. Is there a place where I can download it?

share|improve this question
In my version of Mathematica, mdefs.h is residing in the directory $InstallationDirectory/SystemFiles/IncludeFiles/C/ – Heike May 25 '12 at 8:09
Found it, thanks! – Dmitri Nesteruk May 25 '12 at 8:31

1 Answer 1

As it turns out, the answer is $InstallationDirectory/SystemFiles/IncludeFiles/C/. Thanks Heike!

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.