fscanf
- :
[a, count, errmsg] =fscanf(fid, template)¶ - :
[a, count, errmsg] =fscanf(fid, template, size)¶ - :
[v1, v2, …, count, errmsg] =fscanf(fid, template, "C")¶ Read formatted data from the file fid.
Conversions, size handling and the outputs are as for
sscanf. The position of the stream advances by the text consumed.