Versions of Python Compatible with MATLAB Products by Release
The table gives the Python versions which are compatible with the MATLAB Interface to Python, MATLAB Engine for Python, and MATLAB Compiler SDK for Python.
Note: As of MATLAB R2023a, Python 2.x is no longer supported.
MathWorks provides a version of Python compatible with MATLAB R2026b.
Note: As of MATLAB R2023a, Python 2.x is no longer supported.
| Release | MATLAB Interface MATLAB Engine |
MATLAB Compiler SDK |
MATLAB Production Server Client Library |
|---|---|---|---|
| R2026b |
3.10, 3.11, 3.12, 3.13, 3.14 | 3.10, 3.11, 3.12, 3.13, 3.14 | 3.10, 3.11, 3.12, 3.13, 3.14 |
| R2026a |
3.9, 3.10, 3.11, 3.12, 3.13 | 3.9, 3.10, 3.11, 3.12, 3.13 | 3.9, 3.10, 3.11, 3.12, 3.13 |
| R2025b |
3.9, 3.10, 3.11, 3.12 | 3.9, 3.10, 3.11, 3.12 | 3.9, 3.10, 3.11, 3.12 |
R2025a |
3.9, 3.10, 3.11, 3.12 | 3.9, 3.10, 3.11, 3.12 | 3.9, 3.10, 3.11, 3.12 |
R2024b |
3.9, 3.10, 3.11, 3.12 | 3.9, 3.10, 3.11, 3.12 | 3.9, 3.10, 3.11, 3.12 |
R2024a |
3.9, 3.10, 3.11 | 3.9, 3.10, 3.11 | 3.9, 3.10, 3.11 |
R2023b |
3.9, 3.10, 3.11 | 3.9, 3.10, 3.11 | 3.9, 3.10, 3.11 |
R2023a |
3.8, 3.9, 3.10 | 3.8, 3.9, 3.10 | 3.8, 3.9, 3.10 |
R2022b |
2.7, 3.8, 3.9, 3.10 | 2.7, 3.8, 3.9, 3.10 | 3.8, 3.9, 3.10 |
R2022a |
2.7, 3.8, 3.9 | 2.7, 3.8, 3.9 | 2.7, 3.8, 3.9 |
R2021b |
2.7, 3.7, 3.8, 3.9 | 2.7, 3.7, 3.8, 3.9 | 2.7, 3.7, 3.8, 3.9 |
R2021a |
2.7, 3.7, 3.8 | 2.7, 3.7, 3.8 | 2.7, 3.7, 3.8 |
R2020b |
2.7, 3.6, 3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