Merge path and filename for xlswrite
2 views (last 30 days)
Show older comments
Hi all,
I would like to save an excel file which it could be already created or not to a dynamic path with a specific filename. I mean that the path where the file may be written is modified each time the code is executed but the name of the file remains the same.
I've tried this..
myFolder = 'E:\Dropbox\'; xlswrite(myFolder\'results.xlsx',P,'RSSI lineal',['A' num2str(i+1)]);
It should save the data to the file results.xslx in the path "myFolder".
Thanks a lot.
Raúl.
0 Comments
Accepted Answer
Image Analyst
on 15 Mar 2013
Code examples for doing that are in the FAQ: http://matlab.wikia.com/wiki/FAQ#How_can_I_process_a_sequence_of_files.3F
0 Comments
More Answers (0)
See Also
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!