Borrar filtros
Borrar filtros

files managing (copy, move and write)

1 visualización (últimos 30 días)
kimy
kimy el 1 de Ag. de 2021
Editada: Matt J el 1 de Ag. de 2021
Hi,
Now I have a series of files but I don't know how to achieve my goal using Matlab since I am a definitely beginer. I have a folder called surface in which many folders are included, named by a time step (0.1, 0.2 ,0.3 .....). Of course, under each time step folder the data file (e.g. "0.1->patch_ground->scalarfiled->p") that I need is there, as you can recognise in the attchment, which is original data files that I output from an OPENFOAM code. First of all, I have to change the name of file "p" to "p.data" and copy/move the "p.data" file into the folder of each timestep ("0.1->p.data"). Then, I need to copy the file "p" already in the foler of "0.1" to every timestep folder (0.1, 0.2, 0.3....). I hope anybody can give me some tips, thanks a lot.

Respuesta aceptada

Matt J
Matt J el 1 de Ag. de 2021
Editada: Matt J el 1 de Ag. de 2021

Más respuestas (0)

Categorías

Más información sobre Biological and Health Sciences en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by