Main Content
openedFiles
Syntax
Description
fIDs = openedFiles
returns the file identifiers of all open files
as a row vector. Files opened for binary read access are assigned integer file identifiers
equal to or greater than 3. The identifiers 0
, 1
, and
2
, which are reserved for standard input, output, and error,
respectively are not included. The number of elements in the vector is equal to the number
of open files.
Examples
Version History
Introduced in R2024a