Difference between revisions of "Save anyway.m"
m (Spot-edit Spinach function page first-line NOTOC and template fields) |
m (Rename Arguments section heading to Parameters) |
||
| Line 6: | Line 6: | ||
save_anyway(file_name,variable) | save_anyway(file_name,variable) | ||
| − | == | + | ==Parameters== |
file_name - a character string specifying the | file_name - a character string specifying the | ||
Revision as of 18:52, 5 June 2026
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.
Syntax
save_anyway(file_name,variable)
Parameters
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