Close connection to FTP server
the connection to the FTP server.
If you do not run
close at the
end of your session, the connection either times out automatically
or terminates when you exit MATLAB®.
close, calling any
other FTP method on the same object automatically reopens the connection.
close does not return any output
to indicate success or failure.
FTP object created by
Connect to the National Geophysical Data Center (NGDC) FTP server, and then disconnect:
ngdc = ftp('ftp.ngdc.noaa.gov'); close(ngdc)