1 2 3 4
function r = bntRoot() % Return directory name where bnt is stored r = fileparts(which(mfilename)); end