From 5007f8f9123bbde1171aaaaadc71245098c10aa2 Mon Sep 17 00:00:00 2001 From: AlanF-MW <103284994+alanfmw@users.noreply.github.com> Date: Thu, 18 Sep 2025 14:05:27 -0400 Subject: [PATCH 1/2] R2025b: initial version --- README.md | 12 ++++++------ setup.py | 9 +++++---- src/matlab/engine/_arch.txt | 4 ---- 3 files changed, 11 insertions(+), 14 deletions(-) delete mode 100644 src/matlab/engine/_arch.txt diff --git a/README.md b/README.md index a987588..b77c492 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ The MATLAB® Engine API for Python® provides a package to integrate MATLA ## Requirements ### Required MathWorks Products -* MATLAB release R2025a +* MATLAB release R2025b ### Required 3rd Party Products @@ -21,7 +21,7 @@ The MATLAB® Engine API for Python® provides a package to integrate MATLA MATLAB Engine API for Python can be installed directly from the Python Package Index. ```bash -$ python -m pip install matlabengine==25.1.2 +$ python -m pip install matlabengine==25.2.1 ``` @@ -29,7 +29,7 @@ $ python -m pip install matlabengine==25.1.2 ### Linux® Prior to installation, check the default install location of MATLAB by calling ```matlabroot``` in a MATLAB Command Window. By default, Linux installs MATLAB at:
-```/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). @@ -46,14 +46,14 @@ setenv LD_LIBRARY_PATH ${LD_LIBRARY_PATH}:/bin/glnxa64 MATLAB Engine API for Python can be installed directly from the Python Package Index. ```bash -$ python -m pip install matlabengine==25.1.2 +$ python -m pip install matlabengine==25.2.1 ``` ### 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:
-```/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). @@ -70,7 +70,7 @@ setenv DYLD_LIBRARY_PATH ${DYLD_LIBRARY_PATH}:/bin/maci64 MATLAB Engine API for Python can be installed directly from the Python Package Index. ```bash -$ python -m pip install matlabengine==25.1.2 +$ python -m pip install matlabengine==25.2.1 ``` --- diff --git a/setup.py b/setup.py index 5b29a64..d67382a 100644 --- a/setup.py +++ b/setup.py @@ -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.1' # MUST_BE_UPDATED_EACH_RELEASE (Search repo for this string) SUPPORTED_PYTHON_VERSIONS = set(['3.9', '3.10', '3.11', '3.12']) @@ -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 = { @@ -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.1", description='A module to call MATLAB from Python', author='MathWorks', license="LICENSE.txt, located in this repository", diff --git a/src/matlab/engine/_arch.txt b/src/matlab/engine/_arch.txt deleted file mode 100644 index 1616d10..0000000 --- a/src/matlab/engine/_arch.txt +++ /dev/null @@ -1,4 +0,0 @@ -win64 -C:\UserAddedPrograms\MATLAB\R2022b\bin\win64 -C:\UserAddedPrograms\MATLAB\R2022b\extern\engines\python\dist\matlab\engine\win64 -C:\UserAddedPrograms\MATLAB\R2022b\extern\bin\win64 \ No newline at end of file From aeb36c74af9f9f14d4a2e6e7719bdbf9655516b9 Mon Sep 17 00:00:00 2001 From: AlanF-MW <103284994+alanfmw@users.noreply.github.com> Date: Thu, 18 Sep 2025 14:29:47 -0400 Subject: [PATCH 2/2] updated qualify*.yml --- .github/workflows/{qualify_25a.yml => qualify_25b.yml} | 10 +++++----- README.md | 6 +++--- setup.py | 4 ++-- 3 files changed, 10 insertions(+), 10 deletions(-) rename .github/workflows/{qualify_25a.yml => qualify_25b.yml} (85%) diff --git a/.github/workflows/qualify_25a.yml b/.github/workflows/qualify_25b.yml similarity index 85% rename from .github/workflows/qualify_25a.yml rename to .github/workflows/qualify_25b.yml index a6ff746..2390bd5 100644 --- a/.github/workflows/qualify_25a.yml +++ b/.github/workflows/qualify_25b.yml @@ -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: @@ -34,7 +34,7 @@ jobs: - name: Set up MATLAB uses: matlab-actions/setup-matlab@v2 with: - release: R2025a + release: R2025b - uses: actions/checkout@v3 diff --git a/README.md b/README.md index b77c492..645226e 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,7 @@ The MATLAB® Engine API for Python® provides a package to integrate MATLA MATLAB Engine API for Python can be installed directly from the Python Package Index. ```bash -$ python -m pip install matlabengine==25.2.1 +$ python -m pip install matlabengine==25.2.2 ``` @@ -46,7 +46,7 @@ setenv LD_LIBRARY_PATH ${LD_LIBRARY_PATH}:/bin/glnxa64 MATLAB Engine API for Python can be installed directly from the Python Package Index. ```bash -$ python -m pip install matlabengine==25.2.1 +$ python -m pip install matlabengine==25.2.2 ``` ### macOS @@ -70,7 +70,7 @@ setenv DYLD_LIBRARY_PATH ${DYLD_LIBRARY_PATH}:/bin/maci64 MATLAB Engine API for Python can be installed directly from the Python Package Index. ```bash -$ python -m pip install matlabengine==25.2.1 +$ python -m pip install matlabengine==25.2.2 ``` --- diff --git a/setup.py b/setup.py index d67382a..1aac050 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ class _MatlabFinder(build_py): MATLAB_REL = 'R2025b' # MUST_BE_UPDATED_EACH_RELEASE (Search repo for this string) - MATLAB_VER = '25.2.1' + 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']) @@ -419,7 +419,7 @@ def run(self): setup( name="matlabengine", # MUST_BE_UPDATED_EACH_RELEASE (Search repo for this string) - version="25.2.1", + version="25.2.2", description='A module to call MATLAB from Python', author='MathWorks', license="LICENSE.txt, located in this repository",