Installation
============

Note: We denote with 'path_to_libcreme' the full path to the directory containing 
      this installation file.

1) Compile C/C++ extensions

   Compilation for Matlab
   ----------------------
   
   Type the following in the Matlab command line:

	cd path_to_libcreme/lib/extensions/matlab
	compile
	
	You might be prompted to select a default C compiler.
	
	
	Compilation for Octave
	----------------------
	
	On a Linux shell, type
	
	cd path_to_libcreme/lib/extensions/octave
	mkoctfile *
	
	Note that the octave headers need to be installed in order for this to work.

2)  Usage within Matlab/Octave

	In order to make the library functions accessible from within Matlab and 
	Octave, type

	addpath(genpath('path_to_libcreme/lib'));
	
	on the Matlab or Octave command line. 


