restructure and organize
This commit is contained in:
@@ -4,7 +4,7 @@ arguments
|
||||
run_id
|
||||
options.append_to_db = 0;
|
||||
options.max_occurences = 4;
|
||||
options.parameters = struct();
|
||||
options.userParameters = struct();
|
||||
|
||||
options.database_path
|
||||
options.database_name
|
||||
@@ -60,8 +60,8 @@ ffe_buffer_len = 1;
|
||||
smoothing_buffer_length = 4096;
|
||||
smoothing_buffer_update = 224;
|
||||
|
||||
% Overwrite default parameters if given in options.parameters
|
||||
paramStruct = options.parameters;
|
||||
% Overwrite default parameters if given in options.userParameters
|
||||
paramStruct = options.userParameters;
|
||||
if ~isempty(paramStruct)
|
||||
paramNames = fieldnames(paramStruct);
|
||||
for i = 1:numel(paramNames)
|
||||
@@ -261,4 +261,4 @@ output.vnle_pf_package = vnle_pf_package;
|
||||
output.vnle_package = vnle_package;
|
||||
output.dbtgt_package = dbtgt_package;
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user