Copyfile: No matching files were found
17 次查看(过去 30 天)
显示 更早的评论
This is the example of a code I am writing:
filename=strcat('p_',prcp_lat(i),'0','_',prcp_long(i),'0','.txt');
source=fullfile('D:\Research\Thesis_work\Structural_uncertainty\Precipitation\precip',filename);
destination=fullfile('D:\Research\Thesis_work\Structural_uncertainty\MatLab_codes\20180222\huc_0512011115',rainfall_data');
copyfile source destination
I get an error 'No matching files were found'. I see other people have had this error. But I am still not able to figure out the problem.
Please, help!
0 个评论
采纳的回答
Fangjun Jiang
2018-4-26
use
copyfile(source, destination)
3 个评论
Andrew Mohan
2018-5-30
I've been struggling with this issue for the better part of today and am so relieved to see your helpful suggestion for the file copy issue. Thank you.
更多回答(0 个)
另请参阅
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!