Index: sm/trunk-jpl/src/c/toolkits/matlab/MatlabMatrixToMatrix.cpp
===================================================================
--- /issm/trunk-jpl/src/c/toolkits/matlab/MatlabMatrixToMatrix.cpp	(revision 11762)
+++ 	(revision )
@@ -1,36 +1,0 @@
-/* \file MatlabMatrixToMatrix.cpp
- * \brief: convert a sparse or dense matlab matrix to a matrix:
- */
-
-
-#ifdef HAVE_CONFIG_H
-	#include <config.h>
-#else
-#error "Cannot compile with HAVE_CONFIG_H symbol! run configure first!"
-#endif
-
-
-#ifdef _SERIAL_
-
-/*Matlab includes: */
-#include "mex.h"
-#include "../../objects/objects.h"
-
-Matrix* MatlabMatrixToMatrix(const mxArray* mxmatrix){
-
-	Matrix* matrix=NULL;
-
-	#ifdef _HAVE_PETSC_
-	/*allocate matrix object: */
-	matrix=new Matrix();
-	
-	/*Call Matlab to Petsc API: */
-	MatlabMatrixToPetscMatrix(&matrix->matrix,&matrix->M,&matrix->N,mxmatrix);
-
-	#else
-		_error_("not supported yet!");
-	#endif
-
-	return matrix;
-}
-#endif
Index: sm/trunk-jpl/src/c/toolkits/matlab/MatlabVectorToVector.cpp
===================================================================
--- /issm/trunk-jpl/src/c/toolkits/matlab/MatlabVectorToVector.cpp	(revision 11762)
+++ 	(revision )
@@ -1,36 +1,0 @@
-/* \file MatlabVectorToVector.cpp
- * \brief: convert a sparse or dense matlab vector to a vector:
- */
-
-
-#ifdef HAVE_CONFIG_H
-	#include <config.h>
-#else
-#error "Cannot compile with HAVE_CONFIG_H symbol! run configure first!"
-#endif
-
-
-#ifdef _SERIAL_
-
-/*Matlab includes: */
-#include "mex.h"
-#include "../../objects/objects.h"
-
-Vector* MatlabVectorToVector(const mxArray* mxvector){
-
-	Vector* vector=NULL;
-
-	#ifdef _HAVE_PETSC_
-	/*allocate vector object: */
-	vector=new Vector();
-	
-	/*Call Matlab to Petsc API: */
-	MatlabVectorToPetscVector(&vector->vector,&vector->M,mxvector);
-
-	#else
-		_error_("not supported yet!");
-	#endif
-
-	return vector;
-}
-#endif
Index: /issm/trunk-jpl/src/c/toolkits/matlab/matlabincludes.h
===================================================================
--- /issm/trunk-jpl/src/c/toolkits/matlab/matlabincludes.h	(revision 11762)
+++ /issm/trunk-jpl/src/c/toolkits/matlab/matlabincludes.h	(revision 11763)
@@ -14,6 +14,4 @@
 int MatlabNArrayToNArray(bool** pmatrix,int* pmatrix_numel,int* pmatrix_ndims,int** pmatrix_size,const mxArray* mxmatrix);
 int MatlabNArrayToNArray(char** pmatrix,int* pmatrix_numel,int* pmatrix_ndims,int** pmatrix_size,const mxArray* mxmatrix);
-Matrix* MatlabMatrixToMatrix(const mxArray* mxmatrix);
-Vector* MatlabVectorToVector(const mxArray* mxvector);
 #endif
 
