フィルターのクリア

Iteration Through .mat Files in a For Loop

20 ビュー (過去 30 日間)
Spencer Ferris
Spencer Ferris 2021 年 6 月 10 日
コメント済み: Spencer Ferris 2021 年 6 月 10 日
I have a series of .mat files that are a structure. For example: "Data Structure for Participant 1". The only thing that is different between the files is the number at the end (1-20).
Each contains the exact same variables, I want to use a for loop and iterate through each of the files at once and do things to each of them, how would I do this? I understand how to access and work with the structure, I am just not sure how I would iterate through files in a for loop.

採用された回答

Image Analyst
Image Analyst 2021 年 6 月 10 日
This is one of our most FAQ-y FAQs, so see the FAQ:

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeIntroduction to Installation and Licensing についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by