Moving files (excel) from a folder A to B
Show older comments
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 Comment
per isakson
on 28 Dec 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.
Accepted Answer
More Answers (0)
Categories
Find more on Spreadsheets in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!