Code covered by the BSD License  

Highlights from
Statistical Learning Toolbox

from Statistical Learning Toolbox by Dahua Lin
Functions for statistical learning, pattern recognition and computer vision, covering many topics.

Description of install_paths
Home > sltoolbox > install_paths.m

install_paths

PURPOSE ^

THE SCRIPT to install the sltoolbox paths to matlab system

SYNOPSIS ^

function install_paths()

DESCRIPTION ^

THE SCRIPT to install the sltoolbox paths to matlab system

CROSS-REFERENCE INFORMATION ^

This function calls:
  • disp DISP displays the dataset fields
This function is called by:

SOURCE CODE ^

0001 function install_paths()
0002 %THE SCRIPT to install the sltoolbox paths to matlab system
0003 
0004 fp = mfilename('fullpath');
0005 rootdir = fileparts(fp);
0006 
0007 subfolders = { ...
0008     'ann'; ...
0009     'cluster'; ...
0010     'core'; ...
0011     'demos'; ...
0012     'discrete'; ...
0013     'ExpDL'; ...
0014     'fileio'; ...
0015     'graph'; ...
0016     'imgproc'; ...
0017     'interp'; ...
0018     'kernel'; ...
0019     'learn'; ...
0020     'manifold'; ...
0021     'perfeval'; ...
0022     'regression'; ...
0023     'smallmat'; ...
0024     'stat'; ...
0025     'subspace'; ...
0026     'subspace_ex'; ...
0027     'tensor'; ...
0028     'text'; ...
0029     'utils'; ...
0030     'utils_ex'; ...
0031     'visualize'; ...
0032     'xmlkits'};
0033 
0034 n = length(subfolders);
0035 folderpaths = cell(1, n);
0036 
0037 for i = 1 : n
0038     folderpaths{i} = fullfile(rootdir, subfolders{i});
0039     fprintf('Add path: %s\n', folderpaths{i});    
0040 end
0041 
0042 addpath(folderpaths{:});
0043 savepath;
0044 
0045 disp('All paths have been added.');
0046 disp(' ');  % a blank line
0047 
0048 
0049

Generated on Wed 20-Sep-2006 12:43:11 by m2html © 2003

Contact us at files@mathworks.com