Owning Class: support
Requires: MathScript RT Module
a = fgetline(fid)
Reads a line from a file. To read a line from a byte stream file, you must use this function.
|fid||Specifies the identifier for the file you want to read. Use the fopen function to open a file and assign it an identifier. fid is an integer.|
|a||Returns the string LabVIEW reads from the file you specify in fid.|
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|
Make sure the file Test.m exists in the MathScript search path.fid = fopen('Test.m');