Copyfile: No matching files were found

17 visualizaciones (últimos 30 días)
Abhinav
Abhinav el 26 de Abr. de 2018
Comentada: Guillaume Baptist el 19 de Feb. de 2022
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!

Respuesta aceptada

Fangjun Jiang
Fangjun Jiang el 26 de Abr. de 2018
use
copyfile(source, destination)
  3 comentarios
Andrew Mohan
Andrew Mohan el 30 de Mayo de 2018
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.
Guillaume Baptist
Guillaume Baptist el 19 de Feb. de 2022
solve the problem. Thanks.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Get Started with MATLAB en Help Center y File Exchange.

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by