Skip to content

Latest commit

 

History

History
51 lines (34 loc) · 1.05 KB

README.md

File metadata and controls

51 lines (34 loc) · 1.05 KB

MATLAB MAT

The package provides a reader and writer of MATLAB MAT-files.

Installation

Fetch the package:

go get -d github.com/ready-steady/mat

Go to the directory of the package:

cd $GOPATH/src/github.com/ready-steady/mat

Set the MATLAB_ROOT and MATLAB_ARCH environment variables according to your MATLAB installation. For example,

export MATLAB_ROOT=/Applications/MATLAB_R2015a.app
export MATLAB_ARCH=maci64

Finally, install the package:

make install

In order to run an executable that relies on this package, the dynamic linker should be able to discover MATLAB’s libraries. To this end, an appropriate environment variable should be set depending on your system. For example,

export DYLD_LIBRARY_PATH="$MATLAB_ROOT/bin/$MATLAB_ARCH:$DYLD_LIBRARY_PATH"

Contributing

  1. Fork the project.
  2. Implement your idea.
  3. Create a pull request.