forked from ethz-pes/AI-mag
-
Notifications
You must be signed in to change notification settings - Fork 0
/
init_toolbox.m
54 lines (48 loc) · 2.22 KB
/
init_toolbox.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
48
49
50
51
52
53
54
function init_toolbox()
% Init the MATLAB Inductor FEM/ANN toolbox.
%
% Add the code to the MATLAB path.
% Init random number generators.
% Close all figures.
% Display a copyright notice.
%
% (c) 2019-2020, ETH Zurich, Power Electronic Systems Laboratory, T. Guillod
% add path
addpath(genpath('src'))
addpath(genpath('run_dataset'))
addpath(genpath('run_design'))
% init random number generators
rng('shuffle')
gpurng('shuffle');
% close figures
close('all')
% define header and copyright
txt = {};
txt{end+1} = ' ________________________________________________________';
txt{end+1} = ' | _________ ___ |';
txt{end+1} = ' | / ___ / /__/ _ __ ___ __ _ __ _ |';
txt{end+1} = ' | / /__/ / / / ___ | `_ ` _ \ / _` |/ _` | |';
txt{end+1} = ' | / ___ / / / /___| | | | | | | (_| | (_| | |';
txt{end+1} = ' | /__/ /__/ /__/ |_| |_| |_|\__,_|\__, | |';
txt{end+1} = ' | |___/ |';
txt{end+1} = ' |________________________________________________________|';
txt{end+1} = ' | |';
txt{end+1} = ' | Fast and Accurate Inductor Modeling and Design |';
txt{end+1} = ' | With Artificial Neural Network (ANN) |';
txt{end+1} = ' | With Finite Element Method (FEM) |';
txt{end+1} = ' |________________________________________________________|';
txt{end+1} = ' | ____________________ ___ |';
txt{end+1} = ' | / ________ ___ /__/ / ETH Zurich |';
txt{end+1} = ' | / _____/ / / / ___ / Power Electronic |';
txt{end+1} = ' | /_______/ /__/ /__/ /__/ Systems Laboratory |';
txt{end+1} = ' |________________________________________________________|';
txt{end+1} = ' | |';
txt{end+1} = ' | T. Guillod, Power Electronic Systems Laboratory |';
txt{end+1} = ' | Copyright 2019-2020 ETH Zurich / BSD License |';
txt{end+1} = ' |________________________________________________________|';
txt{end+1} = ' ';
% display
for i=1:length(txt)
fprintf('%s\n', txt{i})
end
end