Member of the support class.
fid = fopen('all')
fid = fopen(filename)
fid = fopen(filename, mode)
Opens a file.
| Name | Description | ||||||||||||
| 'all' | Returns the specifiers for all open files. | ||||||||||||
| filename | Specifies the path to the file you want to open. If filename is a relative path, LabVIEW searches for the file in the current directory. filename is a string. | ||||||||||||
| mode | Specifies how to open the file. mode is a string that accepts the following values.
|
| Name | Description |
| fid | Returns an identifier for the file you opened. You can use fid to specify the file you want to use with the fread or fwrite functions. fid is an integer. If you specify fopen('all'), fid returns the identifiers for all open files as a vector of integers. |
If you include this function in a stand-alone application or shared library, and filename is a relative path, LabVIEW begins searching for the file in the directory where you installed the application or shared library.
fid = fopen('Test.m');
fclose(fid);