This function saves the current workspace to a .mat-File with the name composed of the current script and actual time and date. Enter "mfilename" as input to use the script's filename this function is run in.
Dimitrij Chudinzow (2020). save_workspace(script_filename) (https://www.mathworks.com/matlabcentral/fileexchange/64283-save_workspace-script_filename), MATLAB Central File Exchange. Retrieved .
This saves the local variables "actual_date, date_format_out, actual_date_string, name_workspace" in a MAT file. But why would you do this? Better use this function only to create the file name and call SAVE in the caller directly.