Skip to content

Opening book details…

About this document

MATLAB fscanf Function Explained by argenis alberti is a document available to read on EtoBox.

Fscanf reads data from an open text file into a column vector or array according to a specified format. It reapplies the format to the entire file and positions the file pointer at the end of the file. If fscanf cannot match the format to the data, it will only read the portion that matches. The text file is indicated by a file ID obtained using fopen. When finished reading, fclose should be used to close the file. Fscanf can also return the number of fields read using an additional output argument.

Author
argenis alberti
Language
EN