save data to diferent excel files

5 visualizaciones (últimos 30 días)
Jose
Jose el 8 de Ag. de 2012
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.

Respuesta aceptada

Jim
Jim el 10 de Ag. de 2012
put the date and time in the file name

Más respuestas (1)

Azzi Abdelmalek
Azzi Abdelmalek el 10 de Ag. de 2012
Editada: Azzi Abdelmalek el 10 de Ag. de 2012
file=[datestr(now) '.xlsx']

Community Treasure Hunt

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

Start Hunting!

Translated by