Mercurial > forge
view extra/robotics/PKG_ADD @ 12671:20e8aca47b2c octave-forge
prepare for release
author | cdf |
---|---|
date | Mon, 17 Aug 2015 10:19:39 +0000 |
parents | 0811adf85beb |
children |
line wrap: on
line source
%1 dirlist = {}; dirname = fileparts (canonicalize_file_name (mfilename ("fullpath"))); if (! exist (fullfile (dirname, "inst"), "dir")) for ii=1:length (dirlist) addpath ( [ dirname filesep dirlist{ii}],"-end") endfor else warning("robotics:Devel","Adding path for testing."); if !isempty(dirlist) for ii=1:length(dirlist) addpath ([ dirname "/inst/" dirlist{ii}]) endfor else addpath([dirname "/inst"]); end endif warning('off', 'Octave:fopen-file-in-path'); clear dirlist dirname