Index: /issm/trunk-jpl/src/m/utils/Model/loadmodel.m
===================================================================
--- /issm/trunk-jpl/src/m/utils/Model/loadmodel.m	(revision 12648)
+++ /issm/trunk-jpl/src/m/utils/Model/loadmodel.m	(revision 12649)
@@ -12,6 +12,12 @@
 	error('loadmodel usage error: md=loadmodel(path)');
 end
+
 %check existence
-if ~exist(path)
+if exist(path,'file')
+	%do nothing
+elseif exist([path '.mat'],'file')
+	%add extension
+	path = [path '.mat'];
+else
 	error(['loadmodel error message: file ' path ' does not exist']);
 end
