リスト化するファイルの範囲指定
이전 댓글 표시
フォルダ826に 下記のように観測ファイルが並んでおり、
《フォルダ 826》
82612.00 →8/26 12:00
82612.01 →8/26 12:01
82612.02 →8/26 12:02
・
・
826123.59 →8/26 23:59
下記のプログラムで変数D に8/26 12:00-12:59 の観測ファイルをリスト化出来るのですが、
変数Dに8/26 12:00-13:59 の観測ファイルをリスト化するためにはどのような表記方法があるでしょうか。
%ファイル名をフルパスごと取得
DebugFiles = 'C:\Users\Documents\MATLAB\826\*1682612*';
%指定フォルダ内のファイルをリスト化
D = dir(DebugFiles);
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 行列および配列에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!