| MATLAB Function Reference | ![]() |
Syntax
Description
mget(f,'filename')
retrieves filename from the FTP server f into the MATLAB current directory, where f was created using ftp.
mget(f,'dirname')
retrieves the directory dirname and its contents from the FTP server f into the MATLAB current directory, where f was created using ftp. You can use a wildcard (*) in dirname.
mget(...,'target')
retrieves the specified items from the FTP server f, where f was created using ftp, into the local directory specified by target, where target is an absolute pathname.
Examples
Connect to the MathWorks FTP server, change to the pub/pentium directory, and retrieve the file Moler_1.txt into the MATLAB current directory.
Then retrieve all files containing the term Moler into the directory d:/myfiles.
See Also
| mfilename | min | ![]() |
© 1994-2005 The MathWorks, Inc.