RESOLVE resolve path

resolve path, to cwd if relative effectively canonical(absolute(p))

Contents

Inputs

Outputs

function r = resolve(p)
arguments
  p {mustBeTextScalar}
end

r = stdlib.canonical(stdlib.absolute(p));

end

%!testif 0