Index: /issm/trunk-jpl/src/m/solve/WriteData.m
===================================================================
--- /issm/trunk-jpl/src/m/solve/WriteData.m	(revision 24198)
+++ /issm/trunk-jpl/src/m/solve/WriteData.m	(revision 24199)
@@ -135,5 +135,5 @@
 	fwrite(fid,s(2),'int');
 	if s(1)*s(2),
-		fwrite(fid,data,'double'); %get to the "c" convention, hence the transpose
+		fwrite(fid,data','double'); %get to the "c" convention, hence the transpose
 	end
 	% }}}
@@ -158,5 +158,5 @@
 	fwrite(fid,s(2),'int');
 	if s(1)*s(2),
-		fwrite(fid,data,'double'); %get to the "c" convention, hence the transpose
+		fwrite(fid,data','double'); %get to the "c" convention, hence the transpose
 	end
 	% }}}
@@ -188,5 +188,5 @@
 	fwrite(fid,s(2),'int');
 	if s(1)*s(2),
-		fwrite(fid,data,'double'); %get to the "c" convention, hence the transpose
+		fwrite(fid,data','double'); %get to the "c" convention, hence the transpose
 	end
 	% }}}
@@ -224,5 +224,5 @@
 		%Convert data to uint8 and write it
 		A=uint8((A-offset)/range*255);
-		fwrite(fid,A,'uint8'); %get to the "c" convention, hence the transpose
+		fwrite(fid,A','uint8'); %get to the "c" convention, hence the transpose
 
 		%Write last row as double (time)
@@ -263,5 +263,5 @@
 		fwrite(fid,s(1),'int');
 		fwrite(fid,s(2),'int');
-		fwrite(fid,matrix,'double');
+		fwrite(fid,matrix','double');
 	end
 	% }}}
