view matlab/padd.m @ 51:91a146143e4b

Added LICENSES, updated VERSION, removed some superfluous VIM stuff
author samer
date Thu, 14 May 2015 15:17:59 +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;