Skip to Main Content Skip to Search
Product Documentation

selectdrive - Select target PC drive

Synopsis

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:\\')
  


Related Products & Applications

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.

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