Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
plotID_matlab
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Model registry
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
plotID
plotID_matlab
Merge requests
!38
Dev/example
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Dev/example
dev/example
into
development
Overview
0
Commits
6
Pipelines
1
Changes
7
Merged
Lemmer, Jan
requested to merge
dev/example
into
development
3 years ago
Overview
0
Commits
6
Pipelines
1
Changes
7
Expand
0
0
Merge request reports
Compare
development
development (base)
and
latest version
latest version
abfaee4b
6 commits,
3 years ago
7 files
+
83
−
49
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
7
Search (e.g. *.vue) (Ctrl+P)
+PlotID/@config/config.m
+
7
−
13
Options
classdef
config
<
handle
%CONFIG class handles metho
th
s and attributes related to the config
%CONFIG class handles metho
d
s 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