Index: /issm/trunk/src/mex/Test/Test.cpp
===================================================================
--- /issm/trunk/src/mex/Test/Test.cpp	(revision 7746)
+++ /issm/trunk/src/mex/Test/Test.cpp	(revision 7747)
@@ -7,4 +7,26 @@
 void mexFunction( int nlhs, mxArray* plhs[], int nrhs, const mxArray* prhs[]){
 
+	Options *options = NULL;
+	double   test;
+	char    *name    = NULL;
+	bool     logical;
+
+	if(verbose) printf("Parsing options:\n");
+	options=new Options(0,nrhs,prhs);
+
+	options->Get(&test,"test",1.);
+	printf("\n value of \"test\" is %g\n",test);
+
+	options->Get(&name,"model.name","default");
+	printf("\n value of \"model.name\" is %s\n",name);
+
+	options->Get(&test,"CELL[0,2]",1.);
+	printf("\n value of \"CELL[0,2]\" is %g\n",test);
+
+	options->Get(&logical,"logical");
+	printf("\n value of \"logical\" is %s\n",logical?"true":"false");
+
+	delete options;
+	xfree((void**)&name);
 }
 
