Generate path name
p = genpath returns a character vector containing a path name that
includes all the folders and subfolders below
, including
empty subfolders.matlabroot/toolbox
p = genpath( returns a character vector
containing a path name that includes folderName)folderName and multiple
levels of subfolders below folderName. The path name does not
include folders named private, folders that begin with the
@ character (class folders), folders that begin with the
+ character (package folders), folders named
resources, or subfolders within any of these.