Skip to content

Commit a6e4845

Browse files
committed
create_symlink: py.os
1 parent 859d208 commit a6e4845

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

+stdlib/create_symlink.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
% see example/javaCreateSymbolicLink.m for a non-working attempt in Matlab.
2929
if stdlib.has_python()
3030
try
31-
py.pathlib.Path(link).symlink_to(target);
31+
py.os.symlink(target, link);
3232
ok = true;
3333
catch e
3434
warning(e.identifier, "%s", e.message)

0 commit comments

Comments
 (0)