Save as xlswrite file in user specified path and user specified name

조회 수: 5 (최근 30일)
Harish M Y
Harish M Y 2021년 6월 16일
댓글: Harish M Y 2021년 6월 21일
Hi,
I have an excel templete created using matlab, I want to use the same templete to store data from appdesigner, I want the new excel sheet with data to be stored in user specified name and path. Please help me with this.
Thank you in advance for your help!

답변 (1개)

Robert Daly
Robert Daly 2021년 6월 16일
You didn't say anything about how yuor data is stored
But something like this...
writematrix(data,'FileName.xlsx','Sheet','user specified name')
if your data is in a Table then use writetable.
There is also writetimetable,& writecell.
  댓글 수: 3
Robert Daly
Robert Daly 2021년 6월 17일
uiputfile
Will open a dialogbox for the user to input a file name and path

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

카테고리

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