fclose
Closes a file stream specified by the file identifier
Syntax
y = fclose ( file_id )
y = file_id.fclose ( )
Inputs
| Argument | Type | Description | Unit |
|---|---|---|---|
file_id | scalar | File identifier from the fopen call | n/a |
Outputs / Return Value
y:yis SCAL. 0 for success, -1 for failure.
See Also
Review Status
- Legacy parameter naming does not exactly match current engine metadata and should be reviewed manually.