Skip to main content

MATLAB wrapper for GEMSEO

Project description

gemseo-matlab

PyPI - License PyPI - Python Version PyPI Codecov branch

Overview

MATLAB wrapper for GEMSEO

Installation

!!! warning

This plugin requires that a MATLAB engine as well as
its Python API are installed. The MATLAB Python API is not defined as a
dependency of this package, because until MATLAB release R2020b there
was no package available in PyPI. It shall be installed in the same
environment as the one in which this plugin is installed, please refer
to the MATLAB documentation for further information.

Here are the current versions of the MATLAB Python packages per MATLAB
versions:

| Python | Matlab | matlabengine |
|:------:|:------:|:------------:|
| 3.10 | r2022b | 9.13 |
| 3.10 | r2023a | 9.14 |
| 3.10, 3.11 | r2023b | 23.2 |
| 3.10, 3.11 | r2024a | 24.1 |

To make sure that MATLAB works fine through the Python API, start a
Python interpreter and check that there is no error when executing
`import matlab`.

Install the latest stable version with pip install gemseo-matlab.

See pip for more information.

Development

For testing with tox, set the environment variable MATLAB_PIP_REQ_SPEC to point to the URL or path of a pip installable version of the MATLAB Python API, with eventually a conditional dependency on the Python version:

export MATLAB_PIP_REQ_SPEC="matlabengine~=X.Y.0"

where X.Y is the version number in above table.

Docker

To create or update the podman/docker images for testing the plugin, adapt with the proper version of matlab:

podman build Dockerfile -t gemseo-matlab:r2020b --build-arg=MATLAB_VERSION=r2020b

Bugs and questions

Please use the gitlab issue tracker to submit bugs or questions.

Contributing

See the contributing section of GEMSEO.

Contributors

  • GEMSEO developers

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gemseo_matlab-2.0.4.tar.gz (282.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gemseo_matlab-2.0.4-py3-none-any.whl (27.3 kB view details)

Uploaded Python 3

File details

Details for the file gemseo_matlab-2.0.4.tar.gz.

File metadata

  • Download URL: gemseo_matlab-2.0.4.tar.gz
  • Upload date:
  • Size: 282.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.2

File hashes

Hashes for gemseo_matlab-2.0.4.tar.gz
Algorithm Hash digest
SHA256 c0f1df745a6bf68a596e47b822110f731a9cbd509a20d99bf9728d332bc43382
MD5 7049d569dfb550e39436731b7562b722
BLAKE2b-256 bf0fd68bf5a9d18cf2cd235f8dc6b525bd6a7c3e05d0d2451a9d26b947b4414e

See more details on using hashes here.

File details

Details for the file gemseo_matlab-2.0.4-py3-none-any.whl.

File metadata

File hashes

Hashes for gemseo_matlab-2.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 679fbd03bc32e20d9fa3cb214e309c5b3e4b6c2cc611c168b7aae712136a9106
MD5 9be39f5ae1bb62ecf8a710ccb8c683a4
BLAKE2b-256 51a82f62b778a6529dcccaa96c0b77191dac3e2b0daf89b885771874f09a48c2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page