Mathematica 9 is now available

Wolfram Library Archive

All Collections Articles Books Conference Proceedings
Courseware Demos MathSource Technical Notes
Title Downloads

A MathLink Tutorial

Todd Gayley
Organization: Wolfram Research, Inc.
Department: Kernel Technology

This tutorial supplements the material in the MathLink Reference Guide. It covers all aspects of MathLink programming, especially topics that are treated very briefly or not at all in the Reference Guide. Topics include: passing lists and arrays, error handling, using C++ and FORTRAN, graphics, packet types, troubleshooting, etc. This tutorial supersedes any other MathLink documentation by the author. The formatting relies heavily on multiple fonts within cells, so Windows users might want to get the PostScript version as well.

*Mathematica Technology > Linking Technology > MathLink

mathlink, tutorial
Downloads Download Wolfram CDF Player

ML_Tut.nb (333.8 KB) - Mathematica Notebook
Download (223 KB) - Postscript file
frontend.c (5.5 KB) - Simplified FrontEnd, for tutorial purposes

Files specific to Mathematica 2.2 version:
Download (156.7 KB) - Mathematica Notebook 2.2 or older