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
!36
Resolve "Initialise: Angabe des Ordners ohne Effekt"
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Resolve "Initialise: Angabe des Ordners ohne Effekt"
90-initialise-angabe-des-ordners-ohne-effekt
into
development
Overview
0
Commits
2
Pipelines
1
Changes
3
Merged
Lemmer, Jan
requested to merge
90-initialise-angabe-des-ordners-ohne-effekt
into
development
3 years ago
Overview
0
Commits
2
Pipelines
1
Changes
3
Expand
Closes
#90 (closed)
0
0
Merge request reports
Compare
development
development (base)
and
latest version
latest version
cd3be8cc
2 commits,
3 years ago
3 files
+
36
−
18
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
3
Search (e.g. *.vue) (Ctrl+P)
+PlotID/@config/config.m
+
5
−
1
Options
@@ -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