Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
# Run tInstall on Ubuntu against python versions 3.12, 3.11, 3.10 and 3.9

name: Test R2025a
# MUST_BE_UPDATED_EACH_RELEASE (Search repo for this string)
name: Test R2025b

on:
push:
branches:
- R2025a
- R2025b

pull_request:
branches:
- R2025a
- R2025b

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
Expand All @@ -34,7 +34,7 @@ jobs:
- name: Set up MATLAB
uses: matlab-actions/setup-matlab@v2
with:
release: R2025a
release: R2025b

- uses: actions/checkout@v3

Expand Down
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ The MATLAB® Engine API for Python® provides a package to integrate MATLA
## Requirements
### Required MathWorks Products
<!-- MUST_BE_UPDATED_EACH_RELEASE (Search repo for this string) -->
* MATLAB release R2025a
* MATLAB release R2025b

### Required 3rd Party Products
<!-- MUST_BE_UPDATED_EACH_RELEASE (Search repo for this string) -->
Expand All @@ -21,15 +21,15 @@ The MATLAB&reg; Engine API for Python&reg; provides a package to integrate MATLA
MATLAB Engine API for Python can be installed directly from the Python Package Index.
<!-- MUST_BE_UPDATED_EACH_RELEASE (Search repo for this string) -->
```bash
$ python -m pip install matlabengine==25.1.2
$ python -m pip install matlabengine==25.2.2
```



### Linux&reg;
Prior to installation, check the default install location of MATLAB by calling ```matlabroot``` in a MATLAB Command Window. By default, Linux installs MATLAB at:<br>
<!-- MUST_BE_UPDATED_EACH_RELEASE (Search repo for this string) -->
```/usr/local/MATLAB/R2025a```
```/usr/local/MATLAB/R2025b```

When MATLAB is not installed in the default location, the bin/*architecture* directory within the MATLAB root directory must be added to the environment variable LD_LIBRARY_PATH. The path can be added to the environment variable within the shell startup configuration file (for example, .bashrc for bash shell or .tcshrc for tcsh).

Expand All @@ -46,14 +46,14 @@ setenv LD_LIBRARY_PATH ${LD_LIBRARY_PATH}:<matlabroot>/bin/glnxa64
MATLAB Engine API for Python can be installed directly from the Python Package Index.
<!-- MUST_BE_UPDATED_EACH_RELEASE (Search repo for this string) -->
```bash
$ python -m pip install matlabengine==25.1.2
$ python -m pip install matlabengine==25.2.2
```

### macOS
Prior to installation, check the default install location of MATLAB by calling ```matlabroot``` in a MATLAB Command Window. By default, macOS installs MATLAB at:<br>

<!-- MUST_BE_UPDATED_EACH_RELEASE (Search repo for this string) -->
```/Applications/MATLAB_R2025a.app```
```/Applications/MATLAB_R2025b.app```

When MATLAB is not installed in the default location, the bin/*architecture* directory within the MATLAB root directory must be added to the environment variable DYLD_LIBRARY_PATH. The path can be added to the environment variable within the shell startup configuration file (for example, .bashrc for bash shell or .tcshrc for tcsh).

Expand All @@ -70,7 +70,7 @@ setenv DYLD_LIBRARY_PATH ${DYLD_LIBRARY_PATH}:<matlabroot>/bin/maci64
MATLAB Engine API for Python can be installed directly from the Python Package Index.
<!-- MUST_BE_UPDATED_EACH_RELEASE (Search repo for this string) -->
```bash
$ python -m pip install matlabengine==25.1.2
$ python -m pip install matlabengine==25.2.2
```

---
Expand Down
9 changes: 5 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ class _MatlabFinder(build_py):
}

# MUST_BE_UPDATED_EACH_RELEASE (Search repo for this string)
MATLAB_REL = 'R2025a'
MATLAB_REL = 'R2025b'

# MUST_BE_UPDATED_EACH_RELEASE (Search repo for this string)
MATLAB_VER = '25.1.2'
MATLAB_VER = '25.2.2'

# MUST_BE_UPDATED_EACH_RELEASE (Search repo for this string)
SUPPORTED_PYTHON_VERSIONS = set(['3.9', '3.10', '3.11', '3.12'])
Expand All @@ -40,7 +40,8 @@ class _MatlabFinder(build_py):
"23.2": "R2023b",
"24.1": "R2024a",
"24.2": "R2024b",
"25.1": "R2025a"
"25.1": "R2025a",
"25.2": "R2025b"
}

DEFAULT_INSTALLS = {
Expand Down Expand Up @@ -418,7 +419,7 @@ def run(self):
setup(
name="matlabengine",
# MUST_BE_UPDATED_EACH_RELEASE (Search repo for this string)
version="25.1.2",
version="25.2.2",
description='A module to call MATLAB from Python',
author='MathWorks',
license="LICENSE.txt, located in this repository",
Expand Down
4 changes: 0 additions & 4 deletions src/matlab/engine/_arch.txt

This file was deleted.