MATLAB Answers

0

How do i copy the content of a folder into another folder.

Asked by Daniel Boateng on 12 Mar 2019
Latest activity Answered by Sean de Wolski
on 12 Mar 2019
I have a folder with 5 matfiles and I want to copy these matfiles into an empty folder I have created . Please how do i go about it. Thank you

  0 Comments

Sign in to comment.

1 Answer

Answer by Sean de Wolski
on 12 Mar 2019
 Accepted Answer

doc copyfile
doc dir
doc fullfile
Use dir to get the file name and current path, fullfile to build the old and new full file paths and copyfile to copy them one at a time in a loop.

  0 Comments

Sign in to comment.