Copy file from target computer to development computer
file_name from the default target computer
to the development computer.
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
Copy file from current folder on default target computer.
Copy file from full path location on target computer
tg = slrt('TargetPC1'); SimulinkRealTime.copyFileToHost(tg,'c:\xpcosc\data1.dat')
target_obj— Name of a target computer or a variable containing a target computer object
If the argument is a character vector or string scalar, it must be the name assigned to a previously configured target computer.
If the argument is a variable containing an object, it must
SimulinkRealTime.target object representing
a previously configured target computer.
file_name— Name of a file on the target computer
If the argument is a file name, the file must be in the current
folder on the target computer, as indicated by the function
The file is transferred from the target and written with the same file name to the current folder on the development computer.