DIR - matlab函数
Posted wangduo
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了DIR - matlab函数相关的知识,希望对你有一定的参考价值。
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
以上是关于DIR - matlab函数的主要内容,如果未能解决你的问题,请参考以下文章