view matlab/padd.m @ 95:4398802c2885 dml-dockerised

fix for repo name
author wolffd <wolffd.mail@googlemail.com>
date Wed, 06 Jun 2018 15:14:27 +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;