SG++
MATLAB binaries

This page explains how to install and use the binaries we provide for use with MATLAB.

Linux

1. Extract the archive to an arbitrary location, say /PATH_TO_BINARIES.
2. Start MATLAB with the following environment variables:
export LD_LIBRARY_PATH="/PATH_TO_BINARIES:$LD_LIBRARY_PATH" export LD_PRELOAD="/usr/lib/x86_64-linux-gnu/libstdc++.so.6:$LD_PRELOAD"
matlab

3. Add /PATH_TO_BINARIES to the MATLAB search path, either by changing to that directory or using pathtool.
4. Check if it works via sgpp.Grid.createLinearGrid(2).

Windows

1. Extract the archive to an arbitrary location, say C:\PATH_TO_BINARIES.
2. Start MATLAB.
3. Add C:\PATH_TO_BINARIES to the MATLAB search path, either by changing to that directory or using pathtool.
4. Check if it works via sgpp.Grid.createLinearGrid(2).