Changeset 24199
- Timestamp:
- 10/03/19 08:40:15 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/m/solve/WriteData.m
r24197 r24199 135 135 fwrite(fid,s(2),'int'); 136 136 if s(1)*s(2), 137 fwrite(fid,data ,'double'); %get to the "c" convention, hence the transpose137 fwrite(fid,data','double'); %get to the "c" convention, hence the transpose 138 138 end 139 139 % }}} … … 158 158 fwrite(fid,s(2),'int'); 159 159 if s(1)*s(2), 160 fwrite(fid,data ,'double'); %get to the "c" convention, hence the transpose160 fwrite(fid,data','double'); %get to the "c" convention, hence the transpose 161 161 end 162 162 % }}} … … 188 188 fwrite(fid,s(2),'int'); 189 189 if s(1)*s(2), 190 fwrite(fid,data ,'double'); %get to the "c" convention, hence the transpose190 fwrite(fid,data','double'); %get to the "c" convention, hence the transpose 191 191 end 192 192 % }}} … … 224 224 %Convert data to uint8 and write it 225 225 A=uint8((A-offset)/range*255); 226 fwrite(fid,A ,'uint8'); %get to the "c" convention, hence the transpose226 fwrite(fid,A','uint8'); %get to the "c" convention, hence the transpose 227 227 228 228 %Write last row as double (time) … … 263 263 fwrite(fid,s(1),'int'); 264 264 fwrite(fid,s(2),'int'); 265 fwrite(fid,matrix ,'double');265 fwrite(fid,matrix','double'); 266 266 end 267 267 % }}}
Note:
See TracChangeset
for help on using the changeset viewer.