No BSD License  

Highlights from
MEX_SHAPE

image thumbnail
from MEX_SHAPE by John Evans
Reads in common ESRI shapefile formats.

Case Study: Mandriva 2006

Case Study: Mandriva 2006

Start by copying the mexopts.sh from your ${MATLAB}/bin directory into your working directory. The following RPMs were installed via URPMI from the contrib media source (consult Easy URPMI for information on how to set up your URPMI media sources).

libshapelib1-1.2.10-1mdk
libshapelib1-devel-1.2.10-1mdk
shapelib-1.2.10-1mdk

Then the bottom of mexopts.sh was modified to read

	CFLAGS="$CFLAGS -I/usr/local/include/libshp "
	CLIBS="$CLIBS -lshp"

Save these edits and invoke make from the unix command line. Because the RPMs install in the normal locations, i.e. /usr/lib and /usr/include, the edits to mexopts.sh are pretty minimal.

Contact us