Metadata-Version: 2.1
Name: gemseo-matlab
Version: 1.0.1
Summary: MATLAB wrapper for GEMSEO
Author-email: GEMSEO developers <contact@gemseo.org>
License: GNU Lesser General Public License v3
Project-URL: Homepage, https://gitlab.com/gemseo
Project-URL: Source, https://gitlab.com/gemseo/dev/gemseo-matlab
Project-URL: Tracker, https://gitlab.com/gemseo/dev/gemseo-matlab/-/issues
Classifier: License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)
Classifier: Intended Audience :: Science/Research
Classifier: Topic :: Scientific/Engineering
Classifier: Operating System :: POSIX :: Linux
Classifier: Operating System :: MacOS
Classifier: Operating System :: Microsoft :: Windows
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Requires-Python: <3.11,>=3.8
Description-Content-Type: text/markdown
License-File: LICENSE.txt
License-File: CREDITS.md
Requires-Dist: gemseo[all]>=5
Requires-Dist: numpy
Requires-Dist: scipy
Requires-Dist: strenum
Provides-Extra: test
Requires-Dist: covdefaults; extra == "test"
Requires-Dist: pytest; extra == "test"
Requires-Dist: pytest-cov; extra == "test"
Requires-Dist: pytest-xdist; extra == "test"

<!--
Copyright 2021 IRT Saint Exupéry, https://www.irt-saintexupery.com

This work is licensed under the Creative Commons Attribution-ShareAlike 4.0
International License. To view a copy of this license, visit
http://creativecommons.org/licenses/by-sa/4.0/ or send a letter to Creative
Commons, PO Box 1866, Mountain View, CA 94042, USA.
-->

MATLAB wrapper for GEMSEO

# Documentation

Currently, the documentation of this plugin is available via the
documentation of GEMSEO.

## Installation

Executing a MATLAB discipline 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.8 | r2020b | 9.9.1 |
| 3.8 | r2021a | 9.10.1 |
| 3.8, 3.9 | r2021b | 9.11.19 |
| 3.8, 3.9 | r2022a | 9.12.17 |
| 3.8, 3.9, 3.10 | r2022b | 9.13.9 |
| 3.8, 3.9, 3.10 | r2023a | 9.14.3 |

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`.

## 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:

``` console
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:

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

# Bugs/Questions

Please use the gitlab issue tracker at
<https://gitlab.com/gemseo/dev/gemseo-matlab/-/issues>
to submit bugs or questions.

# License

The **gemseo-matlab** source code is distributed under the GNU LGPL v3.0 license.
A copy of it can be found in the LICENSE.txt file.
The GNU LGPL v3.0 license is an exception to the GNU GPL v3.0 license.
A copy of the GNU GPL v3.0 license can be found in the LICENSES folder.

The **gemseo-matlab** examples are distributed under the BSD 0-Clause, a permissive
license that allows to copy paste the code of examples without preserving the
copyright mentions.

The **gemseo-matlab** documentation is distributed under the CC BY-SA 4.0 license.

The **gemseo-matlab** product depends on other software which have various licenses.
The list of dependencies with their licenses is given in the CREDITS.md file.

# Contributors

- GEMSEO developers
