Moving files (excel) from a folder A to B
Afficher commentaires plus anciens
Hi,
I have some excel files that have to be moved after the work is done.
Using movefile, I tried moving the file but didn't work..
filename = 'holdings_today.csv';
movingfrom = '\\C:\Program Files\MATLAB';
destination = '\\C:\Program Files\MATLAB\excels';
movefile(filename , movingfrom , destination )
Is there anything that I miss important here?
Thanks for your help in advance,
Jake
1 commentaire
per isakson
le 28 Déc 2016
You missed the left hand side of
[SUCCESS,MESSAGE,MESSAGEID] = movefile(SOURCE,DESTINATION)
which probably will help you understand why it didn't work.
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Spreadsheets dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!