Automated process to save outputs into various MAT files
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
I have numerous covariance matrixes as output from deep neural network and that needs to be stored into various MAT files appending the date and time to the filename. I want to automate the process to save these outputs into various MAT files in a folder.
0 Kommentare
Antworten (1)
Walter Roberson
am 22 Feb. 2020
char(datetime('now', 'format', FORMAT_YOU_WANT))
strcat that with the base file name, fullfile() the directory into place, use that as the first parameter to save() with the remaining parameters being the names of the variables to save, expressed as character vectors.
Siehe auch
Kategorien
Mehr zu Data Import and Export finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!