Skip to content
Snippets Groups Projects
Commit cfa17e09 authored by William Lövfors's avatar William Lövfors
Browse files

Added SaveFile, for saving in parfor loops

parent 6c1e3645
Branches
Tags
No related merge requests found
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
function [] = SaveFile(fileName,variable, variableName)
%SAVEFILE Saves a file with "fileName" with the content of a "variable" with
%name "variableName"
S.(variableName)=variable;
save(fileName,'-struct', 'S')
end
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment