selecting images from numerous subject subfolders

조회 수: 1 (최근 30일)
SC
SC 2019년 11월 8일
답변: Pujitha Narra 2019년 11월 11일
Files for each subject are stored within individual subfolders (e.g. each subject has their own subfolder) and which also contain other subfolders. How can I extract the files of interest from each subject and store them in one directory? Also I'm only using a subset of subjects whose ID's are stored in a cell array.

답변 (1개)

Pujitha Narra
Pujitha Narra 2019년 11월 11일
Hi Sam,
There is a similar question which deals with accessing of files from different subfolders (with their names are in a cell array)
For making a copy of the files to another directory, you can use ‘copyfile’ function.
Usage:
copyfile source destination
You can go through the following for further details about the function:

카테고리

Help CenterFile Exchange에서 File Operations에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by