Index: ../trunk-jpl/src/m/contrib/hack/resultstomatrix.m
===================================================================
--- ../trunk-jpl/src/m/contrib/hack/resultstomatrix.m	(revision 19078)
+++ ../trunk-jpl/src/m/contrib/hack/resultstomatrix.m	(revision 19079)
@@ -47,9 +47,9 @@
 	end
 
 	newtime=getfieldvalue(options,'time',[]);
-	newmatrix=zeros(nods+1,length(newtime));
-	newmatrix(end,:)=newtime;
 	if ~isempty(newtime),
+		newmatrix=zeros(nods+1,length(newtime));
+		newmatrix(end,:)=newtime;
 		%we are asked to reinterpolate to this new time: 
 
 		for i=1:nods,
