Python 3.8 interoperability

2 views (last 30 days)
Bojack
Bojack on 16 Jun 2020
Commented: Ronan Fleming on 12 Apr 2021
Python 3.8 was released in October 2019, and Matlab 2020a was released March 2020 without support for Python 3.8. I hope Python support isn't left behind in the dev plans.
Are there plans to support Python 3.8 soon?
  1 Comment
Rik
Rik on 16 Jun 2020
You would have to ask Mathworks. I suspect they will either not tell you, or make you sign an NDA.
Unless they already published it, in which case your google search should have turned it up.

Sign in to comment.

Answers (2)

Steven Lord
Steven Lord on 24 Sep 2020
The Release Notes for release R2020b indicate that cPython 3.8 is now supported.
  4 Comments
Mohammad Shahbazy
Mohammad Shahbazy on 11 Apr 2021
Edited: Mohammad Shahbazy on 11 Apr 2021
Hello,
Is MATLAB R2021a compatible with Python 3.9.4? If not, which version of Python is supported?
Thanks in advance
Rik
Rik on 11 Apr 2021
@Mohammad Shahbazy If you look at the link Steven posted and extend the search to R2021a, you will see a document being linked: Versions of Python Compatible with MATLAB Products by Release. Interestingly, this document is not yet updated for R2021a, but since the release notes don't mention support for Python 3.9, I wouldn't count on it. It might work, but I expect only 3.7 and 3.8 are supported (and 2.7).

Sign in to comment.


Ryan Mott
Ryan Mott on 14 Aug 2020
Comparing Python release dates to the first MATLAB releases that support them, it appears MathWorks consistently takes about a year to add support for a new Python version. So my hopes are high for R2020b.
Python 3.4.0 released 03/17/14, supported by R2015a (I can't check documentation for R2014b)
Python 3.5.0 released 09/13/15, first supported R2016b
Python 3.6.0 released 12/26/16, first supported R2017b
Python 3.7.0 released 06/27/18, first supported R2019a
  2 Comments
Nagabhushan SN
Nagabhushan SN on 24 Sep 2020
Edited: Nagabhushan SN on 24 Sep 2020
MatLab 2020b is released. Where can I check if it supports python 3.8? This link shows support till MatLab 2019b only.
Ronan Fleming
Ronan Fleming on 12 Apr 2021
https://nl.mathworks.com/help/releases/R2021a/matlab/matlab_external/out-of-process-execution-of-python-functionality.html

Sign in to comment.

Products


Release

R2020a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!