selectdrive - Select target PC drive

Syntax

MATLAB command line

selectdrive(file_obj,'drive')
file_obj.selectdrive('drive')

Arguments

drive

Name of the drive to set.

file_obj

Name of the xpctarget.fs object.

Description

Method of xpctarget.fs objects. selectdrive sets the current drive of the target PC to the specified string. Enter the drive string with an extra backslash (\). For example, D:\\ for the D:\ drive.

Examples

Set the current target PC drive to D:\.

selectdrive(fsys,'D:\\')

or

fsys.selectdrive('D:\\')
  


 © 1984-2008- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS