files with specific extension

how do i find all files in a directory with a specific extension?

 채택된 답변

Thomas
Thomas 2012년 5월 30일

0 개 추천

use the dir command
to find all files in a directory with the .m extensison us
dir('*.m')
for jpg
dir('*.jpg')
etc...

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 File Operations에 대해 자세히 알아보기

질문:

2012년 5월 30일

Community Treasure Hunt

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

Start Hunting!

Translated by