Mercurial > hg > dml-home
view matlab/padd.m @ 32:2ffa4d7c9d38
Added mechanism for site specific bash profile additions in .profile.d
author | daniel |
---|---|
date | Mon, 16 Feb 2015 22:08:22 +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;