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

14 ビュー (過去 30 日間)
Daniel Boateng
Daniel Boateng 2019 年 3 月 12 日
回答済み: Sean de Wolski 2019 年 3 月 12 日
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

採用された回答

Sean de Wolski
Sean de Wolski 2019 年 3 月 12 日
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 件)

カテゴリ

Help Center および File ExchangeFile Operations についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by