5.6. Low-Level Input–Output Functions
There are a number of low-level file input–output functions in MATLAB which are based on the input–output functions of ANSI Standard C Library. The functions are generally categorized as
These are listed in Table 5.2.
Type of Function | Function Name | Description |
---|---|---|
File opening and closing functions | fopen | Open a file for read or write operations |
fclose | Close one or more opened files | |
Formatted input–output functions | fscanf | Read formatted data from file |
fprintf | Write formatted data to file | |
fgetl | Return next line of file as string without line terminator | |
fgets | Return next line of file ... |
Get MATLAB® and Its Applications in Engineering: [Based on MATLAB 7.5 (R2007b)] now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.