how to save excel to a specific folder

조회 수: 9 (최근 30일)
WEI TANG
WEI TANG 2018년 2월 2일
댓글: Rik 2018년 2월 19일
I have used xlwrite to make an excel, but it automatically saved in the working folder, how can I change the saving directory, I know I might need to use actxserver, but I was not clear what to do exactly.
Thank you, any help is appreciated.

채택된 답변

Rik
Rik 2018년 2월 2일
편집: Rik 2018년 2월 2일
Use an explicit path to your file, e.g. like this:
xlswrite('C:\data\sheet.xlsx',A)
This is mentioned in the documentation for xlswrite.
  댓글 수: 1
Rik
Rik 2018년 2월 19일
Did this solve your question? If it did, please accept this answer. It will make it easier for others to find this solution, as well as give me reputation points.
If you still have questions, feel free to comment here with your questions.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Spreadsheets에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by