We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5f490d0 commit 8f96385Copy full SHA for 8f96385
+stdlib/device.m
@@ -8,7 +8,7 @@
8
i = [];
9
10
if stdlib.has_python()
11
- i = uint64(int64(py.os.stat(p).st_dev)); % int64 first is for Matlab <= R2022a
+ i = py_device(p);
12
elseif ispc() && stdlib.has_dotnet()
13
i = device_dotnet(p);
14
elseif stdlib.isoctave()
+stdlib/private/py_device.m
@@ -0,0 +1,6 @@
1
+function i = py_device(p)
2
+
3
+i = uint64(int64(py.os.stat(p).st_dev));
4
+% int64 first is for Matlab <= R2022a
5
6
+end
0 commit comments