Skip to content
Snippets Groups Projects

Implements #73, cleans up example file,

Merged Lemmer, Jan requested to merge dev/example into development
11 files
+ 200
112
Compare changes
  • Side-by-side
  • Inline
Files
11
+ 10
6
@@ -6,7 +6,8 @@ classdef config < handle
properties (SetAccess = private)
mandatoryFields = {'Author', 'ProjectID'}
optionFields
optionFields
configPath
end
properties (SetAccess = protected)
@@ -28,7 +29,7 @@ classdef config < handle
obj.exportPath = obj.configData.ExportPath;
obj.configData.options.Location = 'exportPath';
end
catch
catch
msg = ['no valid config File with the filename ',...
obj.configFileName, ' found.' newline,...
'Please enter the required information manually'];
@@ -39,7 +40,7 @@ classdef config < handle
obj.writeConfig(fullfile(pwd));
end
end%try
obj.configPath = which(obj.configFileName);
end
function outputArg = checkConfig(obj)
@@ -64,8 +65,10 @@ classdef config < handle
%writeConfig writes the config file to path
% TODo;
obj.configData.options = obj.plotID_options(mode);
end
cpath = fileparts(obj.configPath);
obj.writeConfig(cpath);
end
function outputArg = method1(obj,inputArg)
%METHOD1 Summary of this method goes here
% Detailed explanation goes here
@@ -76,7 +79,8 @@ classdef config < handle
methods (Static)
configStruct = wizard(mode)
optionStruct = plotID_options(input)
optionStruct = plotID_options(input)
end
end
Loading