Skip to content

Latest commit

 

History

History
27 lines (21 loc) · 1.16 KB

README.md

File metadata and controls

27 lines (21 loc) · 1.16 KB

This is an updated version of Dylan Simon's matlab package which is available on Hackage. I made changes primarily to allow the package to work with newer versions of GHC and MATLAB.

Installation

You will probably need to add some arguments that point Cabal to your MATLAB installation. For example, on a Linux system with MATLAB R2014a, 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/"

On a Windows system with the MATLAB Compiler Runtime, it might look like this:

cabal install --extra-lib-dirs="C:\Program Files\MATLAB\MATLAB Compiler Runtime\v83\extern\include" --extra-lib-dirs="C:\Program Files\MATLAB\MATLAB Compiler Runtime\v83\bin\win64"

Test platforms

This package has been confirmed to work on the following systems:

GHC version cabal-install version Operating System MATLAB
7.8.3 1.20.0.3 Ubuntu 14.10 MATLAB R2014a
7.8.3 1.18.0.5 Windows 7 MCR R2014a