Change archives name with Matlab

2 次查看(过去 30 天)
Hi,
I've a question about how can I change archives name. I will try to ask it with a simple example:
I have on one hand this archives:
ab123.zip
bc124.zip
cd125.zip
On the other hand, I have this ones:
abxx1.jpg
bcxx2.jpg
cdxx3.jpg
What I try to do is to sustitute the 'xx1, xx2 and xx3' of the last archives with '123, 124 and 125' from the first ones. Is that possible to automatize that with the position? I need to do it with a lot of archives.
Thanks a lot in advance and greetings,
Emma

采纳的回答

Walter Roberson
Walter Roberson 2012-10-13
  1 个评论
Emmanuelle
Emmanuelle 2012-10-15
Thanks Walter. I thinks it's the way to do it but I've a problem.
How can I process the automatized process? I need that everytime create a new name with the same format:
ab/bc/cd (the two first positions from the first name) + number (the number from 3,4 and 5 position)
Is that possible?

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Timing and presenting 2D and 3D stimuli 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by