folder split into parts
1 次查看(过去 30 天)
显示 更早的评论
I have a medical folder with 2 kinds of data Prostatex0000_* and Prostatex0001_*
How can i split the original folder into 2 subfolders?
3 个评论
Rik
2019-1-17
OK, so how can you get a list of files inside a folder? There is 1 function that does that.
And once you have that list, what method can you use to process each file individually?
How can you move a file? How can you create a folder?
How can you detect if a file starts with Prostatex0001 or Prostatex0000?
Start with these questions. This should enable you to find the solution on your own. The most important thing you learn as a programmer is splitting up your big problem into solvable parts.
采纳的回答
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Whos 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!