[Nek5000-users] Reading binary data

nek5000-users at lists.mcs.anl.gov nek5000-users at lists.mcs.anl.gov
Thu May 6 03:14:21 CDT 2010


Dear Neks,

I have written a small Matlab function to read in the binary result 
files. Mostly I understood the structure including the header and the 
structure of the data. After reading in the data (in my case I only 
wrote x,y,z,u,v,w,p) there was still some information in the result 
file. See
% ???
for i=1:252
  rest(i)=fread(fid,1,'float');
end
in the function. Can you explain me what is this?? I added the Matlab 
function.

Best , Fred
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nek_readbin.m
Type: text/x-objcsrc
Size: 1881 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/nek5000-users/attachments/20100506/d3aec750/attachment.bin>


More information about the Nek5000-users mailing list