Info

Questa domanda è chiusa. Riaprila per modificarla o per rispondere.

move all pictures from other folder based on variable value

3 visualizzazioni (ultimi 30 giorni)
mark
mark il 14 Gen 2015
Chiuso: MATLAB Answer Bot il 20 Ago 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 Commenti
Sara
Sara il 14 Gen 2015
Try
movefile('C:\Users\mark\addnew\*jpg',['C:\Users\mark27\Desktop\DATABASE\',n])

Risposte (0)

Questa domanda è chiusa.

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by