A walk-through of EIDORS tutorials. Some examples will be straight up copied from the EIDORS page.
Background: I'm running Ubuntu 14.04 with MATLAB R2015b. YMMV.
Get eidors-v3.8-ng and netgen-5.3.1.
Unpack netgen and go to your netgen directory. Configure requires a C++ compiler (g++ 4.8.4 works for me) and libtogl requires an older version of Tcl/Tk:
apt-get install g++
apt-get install tcl8.5 tcl8.5-dev tk8.5 tk8.5-dev
./configure --with-tclconfig=/usr/lib/tcl8.5/ --with-tkconfig=/usr/lib/tk8.5/
Make process will require OpenGL development files + libxmu:
install libgl1-mesa-dev libglu1-mesa-dev libtogl-dev libxmu-dev
make
make install
To automatically load the EIDORS library when MATLAB launches, run the EIDORS startup script from $matlabroot/toolbox/local/startup.m
.
Run matlab with NETGENDIR=/opt/netgen/bin PATH=/opt/netgen/bin:$PATH matlab &
or just eidors.sh &