Metadata-Version: 2.1
Name: gemseo-matlab
Version: 1.0.0
Summary: MATLAB wrapper for GEMSEO
Home-page: https://gitlab.com/gemseo
Author: GEMSEO developers
Author-email: contact@gemseo.org
License: GNU Lesser General Public License v3
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/x-rst
Provides-Extra: test
License-File: LICENSE.txt
License-File: CREDITS.rst

..
    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:
- r2020b for Python 3.8: 9.9.1
- r2021a for Python 3.8: 9.10.1
- r2021b for Python 3.8, 3,9: 9.11.19
- r2022a for Python 3.8, 3.9: 9.12.17
- r2022b for Python 3.8, 3.9, 3.10: 9.13.9
- r2023a for Python 3.8, 3.9, 3.10: 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:

.. code-block:: 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:

.. code-block:: 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.rst file.

Contributors
------------

- GEMSEO developers
