Skip to content
Snippets Groups Projects

Dev/example

Merged Lemmer, Jan requested to merge dev/example into development
7 files
+ 83
49
Compare changes
  • Side-by-side
  • Inline
Files
7
+ 7
13
classdef config < handle
%CONFIG class handles methoths and attributes related to the config
%CONFIG class handles methods and attributes related to the config
%file
% Detailed explanation goes here
% handle class used for dynamicy property updates
%handle class used for dynamicy property updates
properties (SetAccess = private)
mandatoryFields = {'Author', 'ProjectID'}
@@ -19,7 +18,8 @@ classdef config < handle
methods
function obj = config(configFileName)
%CONFIG Construct an instance of this class
% Detailed explanation goes here
% reads config data from config file, if an error occurs the
% wizard is started by the catch block
obj.configFileName = configFileName;
try
txt = fileread(obj.configFileName);
@@ -62,18 +62,12 @@ classdef config < handle
end
function configData = addPublishOptions(obj,mode)
%writeConfig writes the config file to path
% TODo;
%addPublishOptions adds the publsih options to the config
%object depending on the mode
obj.configData.options = obj.plotID_options(mode);
cpath = fileparts(obj.configPath);
obj.writeConfig(cpath);
end
function outputArg = method1(obj,inputArg)
%METHOD1 Summary of this method goes here
% Detailed explanation goes here
outputArg = obj.Property1 + inputArg;
end
end
end
Loading