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>
引用格式
J Weijs (2024). parsave (https://www.mathworks.com/matlabcentral/fileexchange/57933-parsave), MATLAB Central File Exchange. 检索来源 .
MATLAB 版本兼容性
平台兼容性
Windows macOS Linux类别
标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!版本 | 已发布 | 发行说明 | |
---|---|---|---|
1.0.0.0 | output suppression |