In many cases, you will find it convenient to communicate with external programs at a high level, and to exchange structured data with them. On almost all computer systems, Mathematica supports the MathLink communication standard, which allows higher-level communication between Mathematica and external programs. In order to use MathLink, an external program has to include some special source code and a MathLink library, which are usually distributed with Mathematica. MathLink allows external programs both to call Mathematica, and to be called by Mathematica. ”MathLink and External Program Communication” discusses some of the details of MathLink. By using MathLink, you can, for example, treat Mathematica essentially like a subroutine embedded inside an external program. Or you can create a front end that implements your own user interface, and communicates with the Mathematica kernel via MathLink. You can also use MathLink to let Mathematica call individual functions inside an external program. As described in ”MathLink and External Program Communication”, you can set up a MathLink template file to specify how particular functions in Mathematica should call functions inside your external program. From the MathLink template file, you can generate source code to include in your program. Then when you start your program, the appropriate Mathematica definitions are automatically made, and when you call a particular Mathematica function, code in your external program is executed.
Keywords for this software
References in zbMATH (referenced in 12 articles )
Showing results 1 to 12 of 12.
- Popova, Evgenija; Krämer, Walter: Embedding C-XSC nonlinear solvers in Mathematica (2011)
- Popova, Evgenija D.; Krämer, Walter: Communicating functional expressions from Mathematica to C-XSC (2010)
- Bechtold, Tamara; Rudnyi, Evgenii B.; Korvink, Jan G.: Model order reduction for MEMS: Methodology and computational environment for electro-thermal models (2008)
- Wellin, Paul R.; Gaylord, Richard J.; Kamin, Samuel N.: An introduction to programming with Mathematica. (2005)
- Imafuji, Noriko; Ochiai, Mitsuyuki: Computer aided knot theory using Mathematica and MathLink (2002)
- Ganzha, V. G.; Vorozhtsov, E. V.: Parallel implementation of stability analysis of difference schemes with \textitMATHEMATICA. (1999)
- Abad, Alberto; San-Juan, Felix: PSPCLink: A cooperation between general symbolic and Poisson series processors (1997)
- Kuska, Jens-Peer: Mathematica and C in modern theoretical physics: with emphasis on quantum mechanics (1997)
- Sorgatz, Andreas: Dynamical moduls (1996)
- Varian, Hal R. (ed.): Computational economics and finance: modeling and analysis with Mathematica. With diskette (1996)
- Wolfram, Stephen: The (Mathematica) book. Version 3.0. (1996)
- Keränen, V. (ed.); Mitic, P. (ed.): Mathematics with vision. Proceedings of the 1st international Mathematica symposium, Southampton, GB, July 1995 (1995)