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.9 | r2021b | 9.11.23 |
| 3.9 | r2022a | 9.12.21 |
| 3.9, 3.10 | r2022b | 9.13.11 |
| 3.9, 3.10 | r2023a | 9.14.7 |

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.

Install the development version with pip install gemseo-matlab@git+https://gitlab.com/gemseo/dev/gemseo-matlab.git@develop.

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.Z"

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 Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for gemseo_matlab-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0996f23be4c7c850c83856107fd2a25ee0ee8e69313ca971df545448f25eae89
MD5 784eba0e19d313e11d622f64dd6fdde8
BLAKE2b-256 73bb76a63a939675f19915a81f398d9cdb4506d9f0be31454ff0c542f32b9593

See more details on using hashes here.

Supported by

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