view matlab/padd.m @ 17:0cf66a1e3919

Adding ILM stuff in progress.
author samer
date Mon, 26 Jan 2015 13:56:59 +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;