Access to file and
public class xPCDriveInfo
Syntax Language: C#
public class xPCDriveInfo accesses information
on a target computer drive.
Do not use this .NET API class. Support for this class relies on support for the .NET API, which will be removed in a future release.
There are the following limitations:
You can have at most 128 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 in the operating system on the
target computer can have a maximum of 260 characters. If the file name is longer than
eight-dot-three format (eight character file name, period, three character extension), the
operating system represents the file name in truncated form (for example, six characters followed
'~1'). MATLAB commands can access the file using the fully qualified file
name or the truncated representation of the name. Some block parameters, such as the Scope block
filename parameter, require 8.3 format for the file
Do not write data to the
private folder on
your target computer. It is reserved for Simulink®
|Construct new instance of xPCFileInfo class|
|Copy file from target computer file system to development computer file system|
|Create file in specified path name|
|Permanently delete file on target computer|
|Create read-only xPCFileStream object|
|Property||C# Declaration Syntax||Description|
Get an xPCDirectoryInfo object.
Get a character string that represents the full folder path name.
Get value that indicates whether a file exists.
Get the size, in bytes, of the current file.
Get the name of the file.