Vous avez reçu un message "Your GitLab account has been locked ..." ? Pas d'inquiétude : lisez cet article https://docs.gricad-pages.univ-grenoble-alpes.fr/help/unlock/

Commit e7ad2241 authored by paugier's avatar paugier
Browse files

Matlab 2 py

parent 177f1c0a
{
"cells": [
{
"cell_type": "markdown",
"metadata": {
"slideshow": {
"slide_type": "slide"
}
},
"source": [
"# Port a Matlab code to Python\n",
"\n",
"⚠️ ⚠️ Difficult !! ⚠️ ⚠️\n",
"\n",
"### Converter (with runtime dependence)\n",
"\n",
"- [Smop](https://github.com/victorlei/smop), Small Matlab to Python compiler: convert Matlab code to Python code\n",
"\n",
"See https://stackoverflow.com/a/17535694\n",
"\n",
"### Other approach\n",
"\n",
"- fluidmat2py, provided by [fluiddyn](https://fluiddyn.readthedocs.io)\n",
"\n",
"```\n",
"usage: fluidmat2py [-h] [-c] path\n",
"\n",
"Utility to produce a strange code which is no longer Matlab and not yet Python.\n",
"\n",
"positional arguments:\n",
" path str indicating which file or directory has to be used.\n",
"\n",
"optional arguments:\n",
" -h, --help show this help message and exit\n",
" -c, --clean Only clean the Matlab code.\n",
"```"
]
},
{
"cell_type": "markdown",
"metadata": {
"slideshow": {
"slide_type": "slide"
}
},
"source": []
}
],
"metadata": {
"kernelspec": {
"display_name": "Python 3",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.7.2"
}
},
"nbformat": 4,
"nbformat_minor": 2
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment