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
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
plotID
plotID_matlab
Commits
fc811bdf
Commit
fc811bdf
authored
Nov 23, 2021
by
Lemmer, Jan
Browse files
Options
Downloads
Patches
Plain Diff
Changed Initialisation to addpath in strup.m as suggested by JS
parent
46b51124
No related branches found
No related tags found
2 merge requests
!43
Implements #73, cleans up example file,
,
!33
Resolve "Admin-Berechtigung für Initialisation"
Pipeline
#591884
failed
Nov 23, 2021
Stage: Run
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
Initialisation.m
+10
-4
10 additions, 4 deletions
Initialisation.m
with
10 additions
and
4 deletions
Initialisation.m
+
10
−
4
View file @
fc811bdf
%% This is the PlotID Initialisation file
%% This is the PlotID Initialisation file
% Please run this script before using PlotID
% Please run this script before using PlotID
%% Step 1: Add plotID location to you MATLAB path
%% Step 1: Add plotID location to you MATLAB path via startup.m
% This is necessary to use PlotID in your personal MATLAB Scripts
% Change the current folder to the folder of this m-file.
addpath
(
pwd
);
cd
(
fileparts
(
which
(
mfilename
)));
savepath
;
plotIDpath
=
pwd
;
% Add PlotID path to your startup.m file
fid
=
fopen
(
fullfile
(
userpath
,
'startup.m'
),
'a'
);
cmdStr
=
[
'addpath(
''
'
,
plotIDpath
,
'
''
);'
];
fprintf
(
fid
,
'%s\n'
,
cmdStr
);
fclose
(
fid
);
%% Section 2 Config File
%% Section 2 Config File
% To make things easy, you should use the config file. The following wizard
% To make things easy, you should use the config file. The following wizard
...
@@ -26,4 +31,5 @@ if writeConfig
...
@@ -26,4 +31,5 @@ if writeConfig
end
end
%%
%%
clc
disp
(
'Initialisition done.'
)
disp
(
'Initialisition done.'
)
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment