xPCFileSystem.GetDrives

Drive names for logical drives on target computer

Syntax

public xPCDriveInfo[] GetDrives()

Description

Class: xPCFileSystem Class

Method

Namespace: MathWorks.xPCTarget.FrameWork

Syntax Language: C#

public xPCDriveInfo[] GetDrives() retrieves the drive names of the logical drives on the target computer. This method returns an xPCDriveInfo array.

Note

Do not use this .NET API method. Support for this method relies on support for the .NET API, which will be removed in a future release.

Exception

ExceptionCondition

xPCException

When problem occurs, query xPCException object Reason property.

Introduced in R2011b