-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathinstall_DuoDIC.m
33 lines (26 loc) · 1.03 KB
/
install_DuoDIC.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
function install_DuoDIC
%% Add MultiDIC library path so functions are known to use here
mPath=fileparts(mfilename('fullpath')); %Get the current path
addpath(genpath(mPath)); % add this folder
addpath(genpath(fullfile(mPath,'lib_DuoDIC'))); % add libraries
addpath(genpath(fullfile(mPath,'lib_ext'))); % add external library
% install Ncorr
cd(fullfile(mPath,'lib_ext','ncorr_2D_matlab-master'));
handles_ncorr=ncorr;
cd(mPath);
% message
h=msgbox('DuoDIC installed successfully');
hp=get(h, 'position');
set(h, 'position', [hp(1) hp(2) 150 50]); %makes box bigger
ah = get( h, 'CurrentAxes' );
ch = get( ah, 'Children' );
set(ch, 'FontSize',10);
end
%% DuoDIC: 2-camera 3D-DIC toolbox
%% Copyright (C) 2022 Dana Solav - All rights reserved.
%
% This program is distributed in the hope that it will be useful,
% but WITHOUT ANY WARRANTY; without even the implied warranty of
% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
%
%% If used in published OR commercial work, please contact [[email protected]] for citation and license information