Merge path and filename for xlswrite
조회 수: 3 (최근 30일)
이전 댓글 표시
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
채택된 답변
Image Analyst
2013년 3월 15일
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
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Spreadsheets에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!