| Products & Services | Solutions | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| R2010b Documentation → MATLAB |
| Contents | Index |
| Learn more about MATLAB |
fclose(fileID)
fclose('all')
status = fclose(...)
fclose(fileID) closes an open file. fileID is an integer file identifier obtained from fopen.
fclose('all') closes all open files.
status = fclose(...) returns a status of 0 when the close operation is successful. Otherwise, it returns -1.
feof | ferror | fopen | fprintf | fread | frewind | fscanf | fseek | ftell | fwrite
| © 1984-2010- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |