Select target computer drive
sets the currently active drive of the target computer to the specified character vector
or string scalar. If a drive with that name does not exist in the target computer, the
function displays an error message.
object will be removed in a future release. See the release note for file system commands to
use instead. These commands use the
SimulinkRealTime.openFTP function and the functions for the MATLAB
C:\ drive in
the target computer.
tg = slrt; filesys_object = SimulinkRealTime.fileSystem(tg); selectdrive(filesys_object,'C:\')