Haskell library providing Matlab bindings and interface (http://hackage.haskell.org/package/matlab)

root / matlab.cabal

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
Name:		matlab
Version:	0.1.1
Cabal-Version:  >= 1.6 && < 1.10
Author:		Dylan Simon
Maintainer:     dylan@dylex.net
License:        BSD3
Synopsis:	Matlab bindings and interface
Description:	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 7.5-7.7 and might work with others.
Category:	Foreign,Math
build-type:	Custom
tested-with:    GHC == 6.12.3
extra-source-files: configure matlab.buildinfo.in Foreign/Matlab/Config.hs.in
		src/Makefile.in src/hsmatlab.m src/hsmatlab.c src/hsc_sym.h
		test/Makefile.in test/engine.hs test/runtime.hs test/generic.hs test/mtest.m test/hsmli.hs
extra-tmp-files: matlab.buildinfo Foreign/Matlab/Config.hs
		src/Makefile

Source-Repository head
    Type:	darcs
    Location:	http://hub.darcs.net/dylex/hsmatlab

Flag Engine
    Description:	Enable Matlab engine (spawned eng process) support
Flag Runtime
    Description:	Enable Matlab runtime (linked library) support
Flag MCR
    Description:	Use installed Matlab Component Runtime instead of full Matlab
    default:		False

Library
    Build-depends:	base == 4.*, unix, array, filepath, Cabal
    Exposed-modules:	Foreign.Matlab, Foreign.Matlab.Types, Foreign.Matlab.Array, Foreign.Matlab.Array.Auto, Foreign.Matlab.Array.MArray, Foreign.Matlab.Array.IMX, Foreign.Matlab.Array.Able, Foreign.Matlab.MAT
    if flag(engine)
        Exposed-modules: Foreign.Matlab.Engine
    if flag(runtime)
        Exposed-modules: Foreign.Matlab.Runtime, Foreign.Matlab.Runtime.Generic
    Other-modules:	Foreign.Matlab.Config, Foreign.Matlab.Util, Foreign.Matlab.Internal
    Extensions:         ForeignFunctionInterface, TypeSynonymInstances, MultiParamTypeClasses, FunctionalDependencies, EmptyDataDecls, ScopedTypeVariables, LiberalTypeSynonyms, DeriveDataTypeable, FlexibleInstances, UndecidableInstances
    ghc-options:        -Wall -fno-warn-name-shadowing
    extra-libraries:    mx mex
    if flag(engine)
        extra-libraries: eng
    if flag(mcr)
        build-tools:	mcr
    else
        build-tools:	matlab
    extra-lib-dirs:	src