码迷,mamicode.com
首页 > 其他好文 > 详细

DIR - matlab函数

时间:2016-05-28 17:24:32      阅读:525      评论:0      收藏:0      [点我收藏+]

标签:

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函数

标签:

原文地址:http://www.cnblogs.com/wangduo/p/5537833.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!