view matlab/padd.m @ 107:ee91974287d6 dml-dockerised tip

testing newest swi-prolog version
author wolffd <wolffd.mail@googlemail.com>
date Tue, 21 Aug 2018 18:37:33 +0100
parents 7d34f4b6df69
children
line wrap: on
line source
function padd(varargin)
% padd - Add directories to Matlab path.
%
% Directories are interpreted relative to the directory where this
% function is found.

Root=fileparts(which('padd'));
for i=1:nargin
	arg = varargin{i};
	disp(['adding path ' arg]);
	path(fullfile(Root,arg),path);
end;