Commit e7ad2241 authored by paugier's avatar paugier
Browse files

Matlab 2 py

parent 177f1c0a
%% Cell type:markdown id: tags:
# Port a Matlab code to Python
⚠️ ⚠️ Difficult !! ⚠️ ⚠️
### Converter (with runtime dependence)
- [Smop](https://github.com/victorlei/smop), Small Matlab to Python compiler: convert Matlab code to Python code
See https://stackoverflow.com/a/17535694
### Other approach
- fluidmat2py, provided by [fluiddyn](https://fluiddyn.readthedocs.io)
```
usage: fluidmat2py [-h] [-c] path
Utility to produce a strange code which is no longer Matlab and not yet Python.
positional arguments:
path str indicating which file or directory has to be used.
optional arguments:
-h, --help show this help message and exit
-c, --clean Only clean the Matlab code.
```
%% Cell type:markdown id: tags:
Supports Markdown
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