Target computer file information
object will be removed in a future release. See the release note for file system commands to
use instead. These commands use the
SimulinkRealTime.openFTP function and the functions for the MATLAB
data.dat and read
its file information.
tg = slrt; filesys_object = SimulinkRealTime.fileSystem(tg); file_id = fopen(filesys_object, 'data.dat', 'r'); fileinfo(filesys_object, file_id)
ans = struct with fields: FilePos: 0 AllocatedSize: 32768 ClusterChains: 1 VolumeSerialNumber: -857442364 FulName: 'C:\data.dat'
file_info— File configuration information
The file information includes the full file name, the amount of space allocated for the file, and technical information for use by a maintenance technician.