About

Metadata

  • Last updated , by bebarker
  • License BSD-3-Clause
  • Categories FFI, Mathematics
  • Maintained by: Brandon Barker <brandon.barker@cornell.edu>

  • Lottery factor: 0

Links

Installation

This package uses the Custom cabal build type

Tested Compilers

  1. 8.6.5

Package Flags

Use the -f option with cabal commands to enable flags

    engine (on by default)

    Enable Matlab engine (spawned eng process) support

    runtime (off by default)

    Enable Matlab runtime (linked library) support

Readme

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.

Installation
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/"