Documentation

xPCFSCloseFile

Close file on target computer

Prototype

void xPCFSCloseFile(int port, int fileHandle);

Arguments

port

Enter the value returned by the function xPCOpenTcpIpPort.

fileHandle

Enter the file handle of an open file on the target computer.

Description

The xPCFSCloseFile function closes the file associated with fileHandle on the target computer. fileHandle is the handle of a file previously opened by the xPCFSOpenFile function.

Introduced before R2006a

Was this topic helpful?