首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 其他教程 > 其他相关 >

matlab dir下令

2012-10-26 
matlab dir命令DIR List directory.?? ?DIR directory_name lists the files in a directory. Pathnames a

matlab dir命令

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.

热点排行