Why does the CLOSE function for an FTP object not return a 'disconnected' message in MATLAB 7.0 (R14)?
2 views (last 30 days)
Show older comments
I am following the example in the documentation for connecting to the Mathworks FTP site, but when I issue the following commands:
tmw = ftp('ftp.mathworks.com');
close(tmw)
I do not receive any output. This makes me uncertain whether the connection is closed successfully.
Accepted Answer
MathWorks Support Team
on 19 May 2010
This change has been incorporated into the documentation in Release 2010a (R2010a). For previous releases, read below for any additional information:
This is a documentation error for MATLAB 7.0 (R14) in the MATLAB Function Reference for the CLOSE (ftp) command. The example in the documentation should read as follows:
Connect to MathWorks FTP server and then disconnect.
tmw=ftp('ftp.mathworks.com');
close(tmw)
Where there is no output returned after the CLOSE function.
0 Comments
More Answers (0)
See Also
Categories
Find more on Programming Utilities in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!