Re: The concept of a record



After reading Gordon and Klaus's replies, I came to the conclusion
that
write(12) U(:) will write all the values in U(:) as one record. But
the concept
of "line" doesn't apply here.

If I am correct in the statement above, then what will be the
structure of
the data file? Or put in another way, after writing the array into an
external data file, I load the data file using fread of matlab. The
function
fread will produce a data matrix. What will be the shape of the
matrix?
Is it (1,N), or is it (N, 1), or something else?

I will soon find it out by experiments. But if someone can shed light
on
it beforehand, it is greatly appreciated.

Thank you!
.



Relevant Pages

  • Build read-only file into exe file?
    ... And I use stdio function such as fopento fread() to operate the ... The content of the data file is constant. ... Prev by Date: ...
    (microsoft.public.vc.language)
  • Re: sizeof error?
    ... > I have, I believe, a good reason: I am reading (with fread) a binary ... > data file into this structure. ... The data is 6 bytes/record, ... I'm Schobi at suespammers dot org ...
    (microsoft.public.vc.language)
  • Rule to reply with email and attach document
    ... to a received email that replies with an email containing an ... I know about creating a rule and using a template. ... A rule responds by sending an email with the current data file ... I'd posted this in program_forms be accident) ...
    (microsoft.public.outlook.program_vba)
  • Rule to reply with template and attach document
    ... to a received email that replies with an email containing an ... I know about creating a rule and using a template. ... the file/attachment and would prefer linking/attaching the file. ... A rule responds by sending an email with the current data file ...
    (microsoft.public.outlook.program_forms)
  • Re: The concept of a record
    ... writing the array into an external data file, ... > produce a data matrix. ... You can read or write with separate scalar variables, arrays, array ... Small records may have excess overhead, ...
    (comp.lang.fortran)