-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathstartup.m
More file actions
26 lines (25 loc) · 1.09 KB
/
Copy pathstartup.m
File metadata and controls
26 lines (25 loc) · 1.09 KB
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
% addpath('/usr/local/AdvanpixMCT/4.6.0.13135')
addpath(genpath('utils'))
addpath(genpath('IGAfunctions'))
addpath(genpath('NURBS'))
addpath SEM
addpath(genpath('NURBSgeometries'))
addpath NURBSmeshes
if ~exist('../e3Dss', 'dir')
error('The e3Dss repository must be downloaded (can be obtained from GitHub: https://github.com/Zetison/e3Dss) and placed at the same level as ASIGA (as ../ASIGA)');
end
addpath(genpath('postProcessing'))
addpath(genpath('examples'))
addpath(genpath('integration'))
addpath subRoutines
addpath(genpath2('../e3Dss','.git'))
addpath(genpath2('../export_fig','.git'))
if ~exist('../export_fig', 'dir')
warning('The export_fig repository must be downloaded (can be obtained from GitHub: https://github.com/altmany/export_fig) and placed at the same level as ASIGA (as ../ASIGA)');
end
set(0,'DefaultLegendAutoUpdate','off')
homeDir = expanduser('~');
folderName = [homeDir '/results/ASIGA'];
if ~exist(folderName, 'dir')
error('The folder in which results should be stored does not exist. Please make such a folder and alter the variable folderName in startup.m accordingly.')
end