| Contents | Index |
void xPCFSDirItems(int port, const char *path, dirStruct *dirs, int numDirItems);
port | Enter the value returned by either the function xPCOpenSerialPort or the function xPCOpenTcpIpPort. |
path | Enter the path on the target computer. |
dirs | Enter the structure to contain the contents of the folder. |
numDirItems | Enter the number of items in the folder. |
The xPCFSDirItems function copies the contents of the target computer folder specified by path. The xPCFSDirItems function copies the listing into the dirs structure, which must be of size numDirItems. Use the xPCFSDirStructSize function to obtain the size of the folder for the numDirItems parameter.
API functions xPCFSDirStructSize, dirStruct
File object method dir

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