Index: /issm/trunk/src/m/utils/Model/loadmodel.m
===================================================================
--- /issm/trunk/src/m/utils/Model/loadmodel.m	(revision 2629)
+++ /issm/trunk/src/m/utils/Model/loadmodel.m	(revision 2630)
@@ -17,5 +17,5 @@
 end
 %check that the file is readable
-[stat,mess]=fileattrib('larsenc8.model');
+[stat,mess]=fileattrib(path);
 if( stat==0 | mess.UserRead~=1),
 	error(['loadmodel error message: file ' path ' is not readable (permission dinied).']);
