![]() | Download Help (Windows Only) |
Owning Class: support
Requires: MathScript RT Module
status = fclose('all')
status = fclose(fid)
Closes a file.
Name | Description |
---|---|
'all' | Closes all open files in the current directory. |
fid | Specifies the identifier for the file you want to close. Use the fopen function to open a file and assign it an identifier. fid is an integer. |
Name | Description |
---|---|
status | Returns 0 if LabVIEW closes the file successfully. Otherwise, this function returns -1. status is an integer. |
If you include this function in a stand-alone application or shared library, 'all' directs LabVIEW to close all open files in the directory where you installed the application or shared library.
The following table lists the support characteristics of this function.
Supported in the LabVIEW Run-Time Engine | Yes |
Supported on RT targets | Yes |
Suitable for bounded execution times on RT | Not characterized |
fid = fopen('Test.m');
fclose(fid);
Helpful
Not Helpful