forked from philipptempel/matlab-tooling
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstartup.m
47 lines (36 loc) · 1.33 KB
/
startup.m
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
function startup()
%% STARTUP starts this project
%% File information
% Author: Philipp Tempel <[email protected]>
% Date: 2022-08-02
% Changelog:
% 2022-08-02
% * Revert previous change (Reverse order of adding paths)
% 2022-03-14
% * Reverse order of adding paths
% * Split repository into tooling repo and workspace repo, thus update
% function to reflect new layout
% 2020-06-11
% * Add initialization of figure styles, diaries, format, random number
% generator, warnings, last workspace
% * Make standalone tooling project and ensure that it can be used as
% start directory of MATLAB
% 2018-05-16
% * Move the installation of the plot styles to a separate file
% 2018-05-14
% * Add installation of plot styles to MATLAB's `prefdir()/ExportSetup`
% directory
% 2018-04-29
% * Move all path definitions to `pathdef.m`
% 2017-03-12
% * Initial release
%% Set paths
% Get path's to add to MATLAB's search path
p = mtl_projpath();
% and add the paths
addpath(p{1:1:end});
end
%------------- END OF CODE --------------
% Please send suggestions for improvement of this file to the original author as
% can be found in the header. Your contribution towards improving this function
% will be acknowledged in the "Changes" section of the header.