Function Reference: Volume 1 (A-E) - The MathWorks - #1051

/ 1298


catalogue search
P. 1051
P. 1052
P. 1053
P. 1054
P. 1055
P. 1056
P. 1057
P. 1058
P. 1059
P. 1060
P. 1061
P. 1062
P. 1063
P. 1064
P. 1065
P. 1066
P. 1067
P. 1068
P. 1069
P. 1070
P. 1071
P. 1072
P. 1073
P. 1074
P. 1075
P. 1076
P. 1077
P. 1078
P. 1079
P. 1080
P. 1081
P. 1082
P. 1083
P. 1084
P. 1085
P. 1086
P. 1087
P. 1088
P. 1089
P. 1090
P. 1091
P. 1092
P. 1093
P. 1094
P. 1095
P. 1096
P. 1097
P. 1098
P. 1099
P. 1100


See other catalogues for The MathWorks

Text version of the page
dir (ftp)
Purpose Directory contents on FTP server
Syntax dir(f,'dirname')
d = dir(...)
Description dir(f,'dirname') lists the files in the specified directory, dirname, on the FTP server f ,where f was created using ftp.If dirname is unspecified, dir lists the files in the current directory of f.
d = dir(...) returns the results in an m-by-1 structure with the following fields for each file:
Fieldname
Description
Data Type
name
Filename
char array
date
Modification date timestamp
char array
bytes
Number of bytes allocated to the file
double
isdir
1 if name is a directory; 0 if not
logical
datenum
Modification date as serial date number
char array
Examples Connect to the MathWorks FTP server and view the contents.
tmw=ftp('ftp.mathworks.com'); dir(tmw)
README incoming matlab outgoing pub pubs
Change to the directory pub/pentium. cd(tmw,'pub/pentium')
2-925

pageCatalog pdf di En 2012-06-22-01