Difference between revisions of "Save anyway.m"
(→See also) |
|||
| Line 17: | Line 17: | ||
==See also== | ==See also== | ||
| − | [[ | + | [[Kernel_utilities#Parallelisation_and_GPUs|Parallelisation and GPUs]] |
''Version 2.2, authors: [[Ilya Kuprov]]'' | ''Version 2.2, authors: [[Ilya Kuprov]]'' | ||
Revision as of 14:07, 17 May 2025
A wrapper intended to trick SPMD blocks into saving data. Matlab does not permit load and save statements in parallel blocks, unless they are wrapped up like this.
Contents
Syntax
save_anyway(file_name,variable)
Arguments
file_name - a character string specifying the
file name
variable - the variable to be saved
Outputs
This function writes a file. It can only save one variable at a time, its name in the mat file is "variable".
See also
Version 2.2, authors: Ilya Kuprov