function R = getRoot(varargin)
% getRoot
% Copyright 2015 - 2016 The MathWorks, Inc.

    here = fileparts(mfilename('fullpath'));

   R = fileparts(fileparts(here));
   if nargin > 0
       R = fullfile(R, varargin{:});
   end
end