Wolfram Library Archive


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

MaMa: Calling MATLAB from Mathematica with MathLink
Author

Roger Germundsson
Organization: Wolfram Research, Inc.
Department: Director of Research & Development
Old MathSource #

0206-143
Revision date

1998-09-30
Description

This package solves the reverse problem of the Mathematica Symbolic Toolbox for MATLAB. That is, MaMa allows the Mathematica user to call MATLAB from within Mathematica. MaMa is implemented as a MathLink template program to talk to Mathematica and uses MATLAB's engine interface to talk to MATLAB. MaMa must be compiled on the same platform on which you run MATLAB and this must be a Unix platform since MATLAB's engine interface only exists on Unix. However, since MathLink can connect heterogeneous platforms, you can call MaMa from any MathLink-capable copy of Mathematica. For example, if you have MATLAB on a Sun build MaMa there. Now you can call MaMa from Mathematica running on any Unix, Macintosh, or Microsoft Windows machine.

See Mathematica Library item 627 for a patch making this compatible with Matlab 5.1.
Subject

*Mathematica Technology > Linking Technology > MathLink
Keywords

Interfacing, Matlab, Mat Lab, Mathlink, code generation, matrices, matrix manipulation, external programs, matlab symbolic toolbox, mathematica symbolic toolbox, MATLAB engine interface
Related items

*MaMa patch for Matlab 5.1   [in MathSource: Packages and Programs]
Downloads Download Wolfram CDF Player

Download
README.txt (4.3 KB) - Author's notes
Download
MaMa.c (2.9 KB) - C-code
Download
MaMa.m (2.2 KB) - Mathematica package
Download
MaMa.tm (1 KB) - MathLink template file
Download
Makefile (371 B) - Unknown MIME type