-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstartup.m
52 lines (44 loc) · 1.54 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
48
49
50
51
52
clear all;
close all;
win32 = 0;
win64 = 0;
%% paths to 32 bit mex files and dlls to set by user
%-------------------------------------------------
win32 = 1;
GpuFit_path_32 = 'D:\Sources\MexFiles\32';
CpuFit_path_32 = 'D:\Sources\MexFiles\32';
GpuFit_profile_path_32 = 'D:\Sources\MexFiles\32';
CpuFit_profile_path_32 = 'D:\Sources\MexFiles\32';
cminapck_path_32 = 'D:\Sources\MexFiles\32';
GPULMFit_path_32 = 'D:\Sources\MexFiles\32';
%-------------------------------------------------
%% paths to 64 bit mex files and dlls to set by user
%-------------------------------------------------
win64 = 1;
GpuFit_path_64 = 'D:\Sources\MexFiles\64';
CpuFit_path_64 = 'D:\Sources\MexFiles\64';
GpuFit_profile_path_64 = 'D:\Sources\MexFiles\64';
CpuFit_profile_path_64 = 'D:\Sources\MexFiles\64';
cminapck_path_64 = 'D:\Sources\MexFiles\64';
GPULMFit_path_64 = ''; %non-existent
%-------------------------------------------------
GPUFIT_MATLAB_BINDING_PATH = 'C:\Mark\Software Development\C projects\Visual Studio 2013 projects\Git\GPUfit_repo\GPUfit\bindings\matlab';
%% add paths
if win32
addpath (GpuFit_path_32);
addpath (CpuFit_path_32)
addpath (GpuFit_profile_path_32)
addpath (CpuFit_profile_path_32)
addpath (cminapck_path_32)
addpath (GPULMFit_path_32)
end
if win64
addpath (GpuFit_path_64);
addpath (CpuFit_path_64)
addpath (GpuFit_profile_path_64)
addpath (CpuFit_profile_path_64)
addpath (cminapck_path_64)
addpath (GPULMFit_path_64) %non-existent
end
addpath (GPUFIT_MATLAB_BINDING_PATH);
addpath ( genpath ( pwd ) )