Type definition for file information structure


typedef struct {
int  FilePos;
int  AllocatedSize;
int  ClusterChains;
int  VolumeSerialNumber;
char FullName[255];



This value contains the current file pointer.


This value contains the currently allocated file size.


This value indicates how many separate cluster chains are allocated for the file.


This value holds the serial number of the volume the file resides on.


This value contains a copy of the complete path name of the file. This field is valid only while the file is open.


The fileinfo structure contains information for files in the file system.

There are the following limitations:

  • You can have at most eight files open on the target computer at the same time.

  • The largest single file that you can create on the target computer is 4 GB.

  • A fully qualified folder name can have a maximum of 248 characters, including the drive letter, colon, and backslash.

  • A fully qualified file name can have a maximum of 260 characters: The file part can have at most 12 characters: eight for the file name, one for the period, and at most three for the file extension. A file name longer than eight characters is truncated to six characters followed by '~1'.

  • Do not write data to the private folder on your target computer. It is reserved for Simulink® Real-Time™ internal use.

Introduced before R2006a

Was this topic helpful?