parsave

Version 1.0.0.0 (1.04 KB) by J Weijs
Parsave allows to save variables to a .mat-file while in a parfor loop.
617 Downloads
Updated 30 Jun 2016

View License

parsave allows to save variables to a .mat-file while in a parfor loop.
This is not possible using the regular 'save' command.
SYNTAX: parsave(FileName,Variable1,Variable2,...)
NOTE: Unlike 'save', do NOT pass the variable names to this function
(e.g. 'Variable') but instead the variable itself, so without using the
quotes. An example of correct usage is:
CORRECT: parsave('file.mat',x,y,z);
This would be INCORRECT: parsave('file.mat','x','y','z'); %Incorrect!

Copyright (c) 2016 Joost H. Weijs
ENS Lyon, France
<jhweijs@gmail.com>

Cite As

J Weijs (2026). parsave (https://www.mathworks.com/matlabcentral/fileexchange/57933-parsave), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2016a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Workspace Variables and MAT Files in Help Center and MATLAB Answers
Version Published Release Notes
1.0.0.0

output suppression