#!/bin/sh

# Matlab brings a version of this which most probably conflicts with the gcc you
# have installed
export LD_PRELOAD=/usr/lib/libgcc_s.so.1

# Path foo, you might want to edit this...
MATLAB=$HOME/software/matlab7
JAVA=$MATLAB/sys/java/jre/glnx86/jre1.5.0
export LD_LIBRARY_PATH=.:$MATLAB/bin/glnx86:$JAVA/lib/i386/client:$JAVA/lib/i386
export XAPPLRESDIR=$MATLAB/X11/app-defaults

#./fun
./fun_test
