DIR List directory.

DIR directory_name lists the files in a directory. Pathnames and
wildcards may be used. For example, DIR *.m lists all the M-files
in the current directory.

D = DIR('directory_name') returns the results in an M-by-1
structure with the fields:
name -- Filename
date -- Modification date
bytes -- Number of bytes allocated to the file
isdir -- 1 if name is a directory and 0 if not
datenum -- Modification date as a MATLAB serial date number.
This value is locale-dependent.

See also what, cd, type, delete, ls, rmdir, mkdir, datenum.

Overloaded methods:
ftp/dir

相关文章:

  • 2022-12-23
  • 2022-03-02
  • 2021-07-27
  • 2022-12-23
  • 2022-12-23
  • 2021-10-01
  • 2022-01-16
  • 2021-07-05
猜你喜欢
  • 2022-12-23
  • 2021-08-05
  • 2022-12-23
  • 2021-10-28
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案