<< diary | Stream manager | feof >> |
fclose(fid) |
fclose('all') |
status = fclose(fid) |
status = fclose('all') |
a file descriptor
an integer value: 0 if file is closed or -1 if not.
fclose must be used to close a file opened by fopen.
fclose('all') closes all opened file with fopen.
fd = fopen([tempdir(), filesep(), 'fclose_tst'],'wt');
status = fclose(fd)
status = fclose(fd)
Version | Description |
---|---|
1.0.0 | initial version |
Allan CORNET