How to copy some files from a folder and then paste them to a another folder using matlab code(script Writting)
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
I am doing some simulation, it give me output files. In those files, I want to copy some files and paste or move them to a new folder. This code has to creat a new folder every time i run, how should i write a matlab code for this.
0 comentarios
Respuestas (1)
Arthur Roué
el 29 de Jul. de 2020
Editada: Arthur Roué
el 29 de Jul. de 2020
% Folder to create
myRep = 'C:\...'
% Make new folder
mkdir(myRep)
% Copy source to destination
copyfile(SourceFile, DestinationFile)
0 comentarios
Ver también
Categorías
Más información sobre File Operations en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!