files with specific extension

83 ビュー (過去 30 日間)
Baba
Baba 2012 年 5 月 30 日
how do i find all files in a directory with a specific extension?

採用された回答

Thomas
Thomas 2012 年 5 月 30 日
use the dir command
to find all files in a directory with the .m extensison us
dir('*.m')
for jpg
dir('*.jpg')
etc...

その他の回答 (0 件)

Community Treasure Hunt

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

Start Hunting!

Translated by