view matlab/padd.m @ 42:06cb370e8aec

Print messages on persistent predicate db load; some changes to settings.
author samer
date Thu, 12 Mar 2015 13:14:49 +0000
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;