save data to diferent excel files

조회 수: 7 (최근 30일)
Jose
Jose 2012년 8월 8일
Hi i'm doing a interface with GUIDE, and i use the xlswrite1()function to save data into a excel file. My problem is when i close the program (my interface) and open again, the excel file is overwriten.
How i can do for change the name of file , automatically, each time that start the program.

채택된 답변

Jim
Jim 2012년 8월 10일
put the date and time in the file name

추가 답변 (1개)

Azzi Abdelmalek
Azzi Abdelmalek 2012년 8월 10일
편집: Azzi Abdelmalek 2012년 8월 10일
file=[datestr(now) '.xlsx']

카테고리

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