view matlab/padd.m @ 27:555b29024dab

Switched to use_foreign_library/1 and replaced plm_state with simpler current_engine/1
author samer
date Fri, 24 Feb 2012 18:11:23 +0000
parents 27c10ed38592
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;