| xPC Target™ | ![]() |
MATLAB command line
selectdrive(file_obj,'drive')
file_obj.selectdrive('drive')drive | Name of the drive to set. |
file_obj | Name of the xpctarget.fs object. |
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.
Note Use the cd method instead to get the same behavior. |
Set the current target PC drive to D:\.
selectdrive(fsys,'D:\\')
or
fsys.selectdrive('D:\\')
![]() | saveparamset | set (env collection object) | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |