blob: 1276729b2247d89edef1f5f2d9bdc37b8cec2ad4 [file] [log] [blame]
function installer_script(varargin)
if nargin > 0
install = varargin{1}; % use the command line arguement
else
install = true; % assume install
end
thisDir = fileparts(mfilename('fullpath')); % path to this script
if install
pathfunc = @addpath; % add paths for installation
else
pathfunc = @rmpath; % remove paths for uninstall
end
pathfunc(thisDir);
savepath;
end