MathGroup Archive 2013

[Date Index] [Thread Index] [Author Index]

Search the Archive

Announcement: MATLink --- call MATLAB from Mathematica seamlessly

  • To: mathgroup at
  • Subject: [mg130690] Announcement: MATLink --- call MATLAB from Mathematica seamlessly
  • From: Szabolcs HorvÃt <szhorvat at>
  • Date: Fri, 3 May 2013 03:49:49 -0400 (EDT)
  • Delivered-to:
  • Delivered-to:
  • Delivered-to:
  • Delivered-to:

Dear MathGroup members,

I am happy to announce the release of MATLink, a Mathematica package
that allows calling MATLAB functions seamlessly.

The package is aimed at Mathematica users who wish to use some MATLAB
functionality in their Mathematica programs.  It is the most complete
package of this type that we are aware of.  It is open source,
released under the MIT license.

What it does:

  * Transfers data between Mathematica and MATLAB.  Most MATLAB data
types are supported, including sparse arrays, structs and cells.

  * Allows wrapping MATLAB functions and making them seamlessly
callable from Mathematica.  The functions arguments are automatically

What it does not do:

 * It won't let you call Mathematica from MATLAB

A small taste of what is possible with MATLink:

Call MATLAB's eig function with a Mathematica matrix:

eig = MFunction["eig"]
eig[{{1, 2}, {3, 1}}]

(* ==> {{3.44949}, {-1.44949}} *)

For more examples, see
Some further examples are shown at

All feedback (bugs, suggestions) is welcome!  Please mail feedback to
matlink.m at or open a new issue at

Please do not mail feedback to MathGroup.

  • Prev by Date: Re: NMF in Mathematica 8
  • Next by Date: Re: How to set Mathematica not return huge float numbers
  • Previous by thread: Re: MarcumQ function
  • Next by thread: Re: Easy to get the audio out of sync with the graphics (Repost)