SET_PERMISSIONS set path permissions

Contents

Inputs

Outputs

function ok = set_permissions(file, readable, writable, executable, backend)
arguments
  file {mustBeTextScalar}
  readable (1,1) {mustBeInteger, mustBeInRange(readable, -1, 1)}
  writable (1,1) {mustBeInteger, mustBeInRange(writable, -1, 1)}
  executable (1,1) {mustBeInteger, mustBeInRange(executable, -1, 1)}
  backend (1,:) string = ["native", "legacy"]
end

fun = hbackend(backend, "set_permissions", 'R2025a');

ok = fun(file, readable, writable, executable);

end