save_anyway.m
A wrapper intended to trick SPMD blocks into saving data.
Contents
Syntax
save_anyway(file_name,variable)
Description
Matlab does not permit load and save statements in parallel blocks, unless they are wrapped up like this. The function can only save one variable at a time, its name in the mat file is "variable".
Arguments
file_name - a character string specifying the
file name
variable - the variable to be saved
Outputs
This function writes a file.
See also
redfield_integral_async.m, redfield_integral_serial.m, ensemble_grape_call.
Version 2.1, authors: Ilya Kuprov