restructure and organize
This commit is contained in:
@@ -12,7 +12,7 @@ arguments
|
||||
savePath
|
||||
options.parallel (1,1) logical = true
|
||||
options.max_occurences = 1;
|
||||
options.paramstruct = struct();
|
||||
options.userParameters = struct();
|
||||
end
|
||||
|
||||
if options.parallel
|
||||
@@ -31,7 +31,7 @@ if options.parallel
|
||||
'storage_path', savePath, ...
|
||||
'append_to_db', 1, ...
|
||||
'max_occurences', options.max_occurences, ...
|
||||
'parameters', options.paramstruct ...
|
||||
'userParameters', options.userParameters ...
|
||||
);
|
||||
|
||||
output = [];
|
||||
@@ -49,7 +49,7 @@ else
|
||||
'storage_path', savePath, ...
|
||||
'append_to_db', 1, ...
|
||||
'max_occurences', options.max_occurences,...
|
||||
'parameters', options.paramstruct ...
|
||||
'userParameters', options.userParameters ...
|
||||
);
|
||||
|
||||
future = []; % No future since it's synchronous
|
||||
|
||||
Reference in New Issue
Block a user