Error in the total number of file count
Show older comments
Hello everyone!
I need to make the dicom file count in a directory and i try the following code:
dirname = uigetdir([]);
d = dir([dirname, '\*.dcm']);
but always gives me the error
" Index exceeds matrix dimensions."
Anyone know how i can fix it?
Thanks
Accepted Answer
More Answers (1)
Nuno
on 28 May 2015
0 votes
Categories
Find more on Search Path in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!