RESOLVE resolve path

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

Contents

Inputs

Outputs

function r = resolve(p, expand_tilde, use_java)
arguments
  p (1,1) string
  expand_tilde (1,1) logical = true
  use_java (1,1) logical = false
end

r = stdlib.canonical(stdlib.absolute(p, "", expand_tilde, use_java), false, use_java);

end