filename — Name of file to read character vector | string scalar
Name of the file to read, specified as a character vector or string scalar.
fileread leverages automatic character set detection to determine
the file encoding.
Example: 'myFile.dat'
Data Types: char | string
Extended Capabilities
C/C++ Code Generation Generate C and C++ code using MATLAB® Coder™.
Usage notes and limitations:
If the function fileread reads the entire file, then all the
data must fit in the largest array that is available for code generation.
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.