automaticly detecting multiple c3d files using dir function

Hi,
for a project at school we received 2 files with each 5 files each containing another 5 c3d files. using the dir function and a string ([path_to_folder'*.c3d']) we should be able to write a fucntion which automatically detects these c3d files. I already found how to read the c3d files but not how to use them multiple times with loops instead of repeatedly writing them.
Can anyone help?

2 件のコメント

Jan
Jan 2014 年 12 月 29 日
It is not clear how "2 files" and "with each 5 files" and "each containing another 5 c3d files" match together. Do you mean folders ?
jonathan ponette
jonathan ponette 2014 年 12 月 29 日
yes folders indeed. sry i'm still at the early stage of learning matlab. so 2 main folders( each with different experiments) containing 5 folders each (being the test subjects) with each of the 5 folders containing two to five c3d files

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

回答 (1 件)

Jan
Jan 2014 年 12 月 29 日

1 投票

This is a recursive file search and you find many solutions in the FileExchange:

カテゴリ

ヘルプ センター および File ExchangeFile Operations についてさらに検索

質問済み:

2014 年 12 月 29 日

回答済み:

Jan
2014 年 12 月 29 日

Community Treasure Hunt

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

Start Hunting!

Translated by