save data to diferent excel files

5 ビュー (過去 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 Center および File ExchangeSpreadsheets についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by