フィルターのクリア

files managing (copy, move and write)

1 回表示 (過去 30 日間)
kimy
kimy 2021 年 8 月 1 日
編集済み: Matt J 2021 年 8 月 1 日
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.

採用された回答

Matt J
Matt J 2021 年 8 月 1 日
編集済み: Matt J 2021 年 8 月 1 日

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeBiological and Health Sciences についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by