Skip to content
Snippets Groups Projects
Commit fc811bdf authored by Lemmer, Jan's avatar Lemmer, Jan
Browse files

Changed Initialisation to addpath in strup.m as suggested by JS

parent 46b51124
No related branches found
No related tags found
2 merge requests!43Implements #73, cleans up example file,,!33Resolve "Admin-Berechtigung für Initialisation"
Pipeline #591884 failed
%% This is the PlotID Initialisation file
% Please run this script before using PlotID
%% Step 1: Add plotID location to you MATLAB path
% This is necessary to use PlotID in your personal MATLAB Scripts
addpath(pwd);
savepath;
%% Step 1: Add plotID location to you MATLAB path via startup.m
% Change the current folder to the folder of this m-file.
cd(fileparts(which(mfilename)));
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
% To make things easy, you should use the config file. The following wizard
......@@ -26,4 +31,5 @@ if writeConfig
end
%%
clc
disp('Initialisition done.')
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment