%% This script adds the DIPlib toolbox to Matlab
%% It must be started everytime you start Matlab
%% This can be automated by adding this script to your `startup.m`
%% The `startup.m` is located in `userpath`

% change diproot to path where DIPlib is installed
diproot="C:\Users\<user>\DIPlib\";
addpath(fullfile(diproot, "share\DIPimage\"));
setenv('PATH', fullfile(diproot, "bin\")+';'+getenv('PATH'));