MATLAB wrapper for GEMSEO
Project description
gemseo-matlab
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
Built Distribution
File details
Details for the file gemseo_matlab-2.0.0-py3-none-any.whl
.
File metadata
- Download URL: gemseo_matlab-2.0.0-py3-none-any.whl
- Upload date:
- Size: 27.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0996f23be4c7c850c83856107fd2a25ee0ee8e69313ca971df545448f25eae89 |
|
MD5 | 784eba0e19d313e11d622f64dd6fdde8 |
|
BLAKE2b-256 | 73bb76a63a939675f19915a81f398d9cdb4506d9f0be31454ff0c542f32b9593 |