Products & Services Solutions Academia Support User Community Company

Learn more about MATLAB   

close (ftp) - Close connection to FTP server

Syntax

close(f)

Description

close(f) closes the connection to the FTP server, represented by object f, which was created using ftp. Be sure to use close after completing work on the server. If you do not run close, the connection will be terminated automatically either because of the server's time-out feature or by exiting MATLAB.

The close function does not return any output to indicate success or failure.

Examples

Connect to the MathWorks FTP server and then disconnect.

tmw=ftp('ftp.mathworks.com');
close(tmw)

See Also

ftp

  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

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