필터 지우기
필터 지우기

How to change the name of an image?

조회 수: 5 (최근 30일)
oshawcole
oshawcole 2019년 8월 20일
댓글: oshawcole 2019년 8월 20일
I have multiple images named as 10000, 10006, 10013, 100247 etc and I want to rename these images as 1_Gamma, 2_Gamma, 3_Gamma, 4_Gamma respectively. Any help would be appreciated. Thanks
  댓글 수: 4
Adam Danz
Adam Danz 2019년 8월 20일
Great! I'll move my comment to the answer section so your question appears as answered.
oshawcole
oshawcole 2019년 8월 20일
Absolutely :)

댓글을 달려면 로그인하십시오.

채택된 답변

Adam Danz
Adam Danz 2019년 8월 20일
You can use movefile() to create a copy of the file with a new name. Then you can use delete() to delete the old copies forever (but you already made a backup of the original files before you did any of this).

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Image Filtering and Enhancement에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by