forked from ethz-pes/AI-mag
-
Notifications
You must be signed in to change notification settings - Fork 0
/
run_dataset_5_export.m
30 lines (23 loc) · 1 KB
/
run_dataset_5_export.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
function run_dataset_5_export()
% Assemble the constant data, the magnetic regression, and the thermal regression.
%
% Assemble the following datasets:
% - The constant data
% - The dataset from the thermal simulations and the corresponding regression
% - The dataset from the magnetic simulations and the corresponding regression
%
% The resulting data contains all the information for evaluating inductor designs with the ANN/regression.
%
% (c) 2019-2020, ETH Zurich, Power Electronic Systems Laboratory, T. Guillod
init_toolbox();
% path of the file containing the constant data
file_init = 'dataset/init.mat';
% path of the file containing the thermal ANN/regression data
file_ann_ht = 'dataset/ht_ann.mat';
% path of the file containing the magnetic ANN/regression data
file_ann_mf = 'dataset/mf_ann.mat';
% path of the file to be written with the exported data
file_export = 'dataset/export.mat';
% save the data
master_export(file_export, file_init, file_ann_ht, file_ann_mf);
end