フィルターのクリア

Load certain index .mat file

5 ビュー (過去 30 日間)
Tsuwei Tan
Tsuwei Tan 2018 年 7 月 31 日
コメント済み: Tsuwei Tan 2018 年 7 月 31 日
Please find the attached pic.
I have 164,934 .mat files at the folder
Is there a way to load one .mat by knowing only the index?
For instance, I would like to load number 600th .mat out of 164,934 without knowing the file name.
Thank you!

採用された回答

Fangjun Jiang
Fangjun Jiang 2018 年 7 月 31 日
files=dir('*.mat');
load(files(600).name);
  1 件のコメント
Tsuwei Tan
Tsuwei Tan 2018 年 7 月 31 日
Thank you! Simple and very explicit!

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeStructures についてさらに検索

タグ

製品


リリース

R2017a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by