how to sort out files by names from a .mat file and and print the number

1 次查看(过去 30 天)
A.mat file contains files name like- d1h1,d1h2,d1h3,d1h4,d2h1,d2h2,d3h1,d3h2,d3h4,d3h5,d3h6. i want to count the number of files having name start with d1 then d2 ,d3 so on... in a loop.
i had attached the .mat file

回答(1 个)

Andrei Bobrov
Andrei Bobrov 2016-7-1
Please see my answer on your question.

类别

Help CenterFile Exchange 中查找有关 Shifting and Sorting Matrices 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by