-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathstartup_VERA.m
34 lines (29 loc) · 1.08 KB
/
startup_VERA.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
% Startup VERA through this script
%Clear matlab environment
close all;
clearvars;
clc;
%add all paths
addpath(genpath('classes'));
addpath(genpath('Components'));
addpath(genpath('Dependencies'));
addpath(genpath('PipelineDesigner'));
%java stuff to make sure that the GUI works as expected
warning off
javaaddpath('Dependencies/Widgets Toolbox/resource/MathWorksConsultingWidgets.jar');
import uiextras.jTree.*;
warning on
if ~any(any(contains(struct2cell(ver), 'Image Processing Toolbox')))
error('Please check if the Image Processing Toolbox is installed!');
end
if ~any(any(contains(struct2cell(ver), 'MATLAB Report Generator')))
error('Please check if the MATLAB Report Generator is installed!');
end
if ~any(any(contains(struct2cell(ver), 'Statistics and Machine Learning Toolbox')))
error('Please check if the Statistics and Machine Learning Toolbox is installed!');
end
if ~any(any(contains(struct2cell(ver), 'Computer Vision Toolbox')))
error('Please check if the Computer Vision Toolbox is installed!');
end
%startup GUI
guihandle=MainGUI();