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 |
| 3.9 | r2022a | 9.12 |
| 3.9, 3.10 | r2022b | 9.13 |
| 3.9, 3.10 | r2023a | 9.14 |
| 3.9, 3.10, 3.11 | r2023b | 23.2 |
| 3.9, 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.2.tar.gz (282.5 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.2-py3-none-any.whl (27.2 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for gemseo_matlab-2.0.2.tar.gz
Algorithm Hash digest
SHA256 cd0304434e93dea23d6659ba3479b56fcab5438e97bc33cb5d3d58c24f9f89b1
MD5 be6fc61181212e3a2c1a74779209c0fa
BLAKE2b-256 156ccf2913a9d8252a93430437bf9ddee5f17212bc3baaa10a1a18fc1e54f902

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gemseo_matlab-2.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 458c844a9383b44276bb99ca2e030a40ea8e4aea04a38a363df75ae6f141b192
MD5 be9901326c5d4a066df266a9bb5aa1fa
BLAKE2b-256 f15b39de26af6bd4653a7d6a026919a0944a483370e93e4c653e70b01fb07fe2

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