User`s guide

dir
isdir Logical value indicating that the object is (1)orisnot(0)
afolder
Examples List the contents of the current folder for the file system object fsys.
You can also list the contents of the current folder for the FTP object
f.
dir(fsys) or dir(f)
4/12/1998 20:00 222390 IO SYS
11/2/2003 13:5 4 6 MSDOS SYS
11/5/1998 20:0 1 93880 COMMAND COM
11/2/2003 13:5 4 <DIR> 0 TEMP
11/2/2003 14:0 0 33 AUTOEXEC BAT
11/2/2003 14:00 512 BOOTSECT DOS
18/2/2003 16:33 4512 SC1SIGNA DAT
18/2/2003 16:1 7 <DIR> 0 FOUND 000
29/3/2003 19:1 9 8512 DATA DAT
28/3/2003 16:4 1 8512 DATADATA DAT
28/3/2003 16:2 9 4512 SC4INTEG DAT
1/4/2003 9:28 201326592 PAGEFILE SYS
11/2/2003 14:1 3 <DIR> 0 WINNT
4/5/2001 13:05 214432 NTLDR '
4/5/2001 13: 05 34468 NTDETECT COM
11/2/2003 14:1 5 <DIR> 0 DRIVERS
22/1/2001 11:42 217 BOOT INI'
28/3/2003 16:4 1 8512 A DAT
29/3/2003 19:1 9 2512 SC3SIGNA DAT
11/2/2003 14:2 5 <DIR> 0 INETPUB
11/2/2003 14:2 8 0 CONFIG SYS
29/3/2003 19:1 0 2512 SC3INTEG DAT
1/4/2003 18: 05 2512 SC1GAIN DAT
11/2/2003 17:26 <DIR> 0 UTILIT~1
You must use the dir(f) syntax to list the contents of the folder.
See Also xPC Target file object methods mkdir, cd,andpwd.
MATLAB
dir function.
18-12