Skip to content
Snippets Groups Projects

Resolve "Initialise: Angabe des Ordners ohne Effekt"

Merged Lemmer, Jan requested to merge 90-initialise-angabe-des-ordners-ohne-effekt into development
3 files
+ 36
18
Compare changes
  • Side-by-side
  • Inline
Files
3
+ 5
1
@@ -12,6 +12,7 @@ classdef config < handle
properties (SetAccess = protected)
configData
configFileName
exportPath = ''
end
methods
@@ -23,7 +24,10 @@ classdef config < handle
txt = fileread(obj.configFileName);
obj.configData = jsondecode(txt);
assert(checkConfig(obj));
if isfield(obj.configData,'ExportPath')
obj.exportPath = obj.configData.ExportPath;
obj.configData.options.Location = 'exportPath';
end
catch
msg = ['no valid config File with the filename ',...
obj.configFileName, ' found.' newline,...
Loading