Mathematica 9 is now available

Wolfram Library Archive


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

How Do I Incorporate C Code or External Programs in Mathematica?
Author

Wolfram Research, Inc.
Organization: Wolfram Research, Inc.
Address: 100 Trade Center Dr.
Champaign, IL 61820
Phone: (217) 398-0700
Fax: (217) 398-0747
Email: infocenter@wolfram.com
URL: http://www.wolfram.com
Description

On almost all computer systems, it is possible to run external programs from directly within Mathematica. You can use Mathematica to control external C programs or to exchange information and data with C programs. Here we discuss some ways of running your external programs from Mathematica and setting up the MathLink communications API.

Also available in Japanese
http://library.wolfram.com/howtos/ccode/index.ja.html
Subject

*Mathematica Technology > Linking Technology > MathLink
Keywords

external functions, external commands
URL

http://library.wolfram.com/howtos/ccode/
Downloads Download Wolfram CDF Player

Download
Ccode.nb (27.8 KB) - Mathematica Notebook