필터 지우기
필터 지우기

adding a string to the file name for all files

조회 수: 2 (최근 30일)
fima v
fima v 2017년 2월 22일
답변: Rik 2017년 2월 22일
Hello i have txt files in my folder,how can i change their file name by adding a string to the start of the file name so af older with aa90.txt bb90.txt cc90.txt will become str_aa90.txt str_bb90.txt str_cc90.txt
thanks

채택된 답변

Rik
Rik 2017년 2월 22일
You can use the function dir find out the file names in a folder. If you Google on [rename files matlab], you can find this answer.
From here you should be able to write the code yourself. If you get errors or don't understand the help text of the functions you need, I'll be glad to help.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Environment and Settings에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by