Documentation

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.

Exception

ExceptionCondition

xPCException

When problem occurs, query xPCException object Reason property.

Introduced in R2011b

Was this topic helpful?