The matlab package

[Tags:bsd3, library]

This package aims to provide a comprehensive interface to the MathWorks MATLAB(R) libraries and native data structures, including complete matrix access, MAT-format files, linking and execution of runtime libraries and engine. Requires MATLAB for full functionality or an installed Matlab Component Runtime (MCR). This has been tested with MATLAB R2014a and might work with others.

You will probably need add some arguments that point Cabal to your MATLAB installation. For example, on a Linux system, it may look like this:
 cabal install --extra-lib-dirs="/usr/local/MATLAB/R2014a/bin/glnxa64/" --extra-include-dirs="/usr/local/MATLAB/R2014a/extern/include/"


Versions 0.1,
Dependencies array (<0.6), base (==4.*), Cabal (<1.21), filepath (<1.4), unix (<2.8) [details]
License BSD3
Author Dylan Simon, Ben Sherman
Maintainer Ben Sherman <>
Category Foreign, Math
Bug tracker
Source repository head: git clone git://
this: git clone git://
Uploaded Thu Jan 22 18:28:30 UTC 2015 by bmsherman
Distributions NixOS:
Downloads 561 total (15 in the last 30 days)
0 []
Status Docs uploaded by user
Build status unknown [no reports yet]
Hackage Matrix CI




engineEnable Matlab engine (spawned eng process) supportEnabledAutomatic
runtimeEnable Matlab runtime (linked library) supportDisabledAutomatic

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info


Maintainer's Corner

For package maintainers and hackage trustees