Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/janfreyberg/matlab_nbconvert
An exporter for matlab files from jupyter notebooks
https://github.com/janfreyberg/matlab_nbconvert
jupyter-notebook matlab nbconvert
Last synced: 3 months ago
JSON representation
An exporter for matlab files from jupyter notebooks
- Host: GitHub
- URL: https://github.com/janfreyberg/matlab_nbconvert
- Owner: janfreyberg
- License: mit
- Created: 2017-02-11T16:10:59.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2017-02-13T14:16:23.000Z (almost 8 years ago)
- Last Synced: 2024-09-28T23:43:36.091Z (3 months ago)
- Topics: jupyter-notebook, matlab, nbconvert
- Language: Python
- Homepage:
- Size: 8.79 KB
- Stars: 2
- Watchers: 3
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
[![PyPI version](https://badge.fury.io/py/matlab_nbconvert.svg)](https://badge.fury.io/py/matlab_nbconvert)
# matlab_nbconvert
This is an exporter for `nbconvert` that turns matlab-notebooks into neatly formatted matlab (`.m`) files. You need to have `nbconvert` installed.
Usage: type `jupyter nbconvert --to matlab 'notebookname.ipynb'`, inserting your filename as needed.
All cells in the resulting `.m` files are delimited by the matlab sectioning `%%`, which means you can run your code as sections in Matlab like you would in jupyter. All code cells have the heading "Cell [X]", where X is the output number present in your notebook.
You can then turn these `.m` files into _Matlab Live Scripts_, which is Mathwork's version of a notebook. In future releases, I may release something like this as well.
Install by cloning this repository, opening a terminal in the directory, and typing `pip install .`, or get the package from pypi by typing `pip install matlab_nbconvert`.