Provide FTP access to folders and files on target computer
The SimulinkRealTime.openFTP
object provides FTP access to
folders and files on the target computer.
constructs and returns the FTP object corresponding to the default target computer. If you
have only one target computer or if you designate a target computer as the default target computer in your system, use this form.ftp_object
=
SimulinkRealTime.openFTP()
constructs and returns the file system object corresponding to the target computer that is
accessible by ftp_object
=
SimulinkRealTime.fileSystem(target_object
)
.target_object
constructs and returns the file system object corresponding to the target computer that is
accessible by ftp_object
=
SimulinkRealTime.fileSystem(target_name
)
.target_name
The SimulinkRealTime.openFTP
function accepts these arguments:
target_object
— Object representing target computer.
Object that represents the target computer. Before calling this function, make sure that you start the target computer with the Simulink® Real-Time™ kernel and apply the required Ethernet link settings.
target_name
— Name assigned to target computer.
ftp_object
— Object representing the target computer for
FTP access.
FTP object created by using the SimulinkRealTime.openFTP
creation
function.
The FTP object supports FTP access to the target computer file system. You work with the target computer file system from the development computer by using FTP methods.
No properties.