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 7f47659 commit 68ca88aCopy full SHA for 68ca88a
+stdlib/has_python.m
@@ -1,7 +1,16 @@
1
%% HAS_PYTHON checks if Python is available in the current environment.
2
+%
3
+% https://www.mathworks.com/support/requirements/python-compatibility.html
4
5
function y = has_python()
6
7
+if isMATLABReleaseOlderThan('R2022b')
8
+ % Matlab this old doesn't work as nice with Python
9
+ % also, R2022b was the first to support Python 3.10
10
+ y = false;
11
+ return
12
+end
13
+
14
try
15
pe = pyenv();
16
catch e
0 commit comments