| Products & Services | Solutions | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → xPC Target |
| Contents | Index |
| Learn more about xPC Target |
typedef struct {
char Name[8];
char Ext[3];
char Day;
int Month;
int Year;
int Hour;
int Min;
int isDir;
unsigned long Size;
} dirStruct; Name | This value contains the name of the file or folder. |
Ext | This value contains the file type of the element, if the element is a file (isDir is 0). If the element is a folder (isDir is 1), this field is empty. |
Day | This value contains the day the file or folder was last modified. |
Month | This value contains the month the file or folder was last modified. |
Year | This value contains the year the file or folder was last modified. |
Hour | This value contains the hour the file or folder was last modified. |
Min | This value contains the minute the file or folder was last modified. |
isDir | This value indicates if the element is a file (0) or folder (1). If it is a folder, Bytes has a value of 0. |
Size | This value contains the size of the file in bytes. If the element is a folder, this value is 0. |
The dirStruct structure contains information for a folder in the file system.
API function xPCFSDirItems

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.
| © 1984-2010- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |