Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

move all pictures from other folder based on variable value

1 vue (au cours des 30 derniers jours)
mark
mark le 14 Jan 2015
Clôturé : MATLAB Answer Bot le 20 Août 2021
hello, i want to know what is wrong in my code?
d = dir('C:\Users\mark\Desktop\DATABASE')
n = length(d)-2
n=num2str(n)
mkdir('C:\Users\mark\Desktop\DATABASE',n)
movefile('C:\Users\mark\addnew\*jpg','C:\Users\mark27\Desktop\DATABASE\',n)
  2 commentaires
Sara
Sara le 14 Jan 2015
Try
movefile('C:\Users\mark\addnew\*jpg',['C:\Users\mark27\Desktop\DATABASE\',n])
mark
mark le 14 Jan 2015
thankyou sara :*

Réponses (0)

Cette question est clôturée.

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by