An exporter for matlab-based jupyter notebooks
Project description
[![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`.
# 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`.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file matlab_nbconvert-0.3.1.tar.gz
.
File metadata
- Download URL: matlab_nbconvert-0.3.1.tar.gz
- Upload date:
- Size: 2.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 05cc22b658471298acd5a26ff54e8ed04f6d2efcc34f62c8c9c574f71069f0d3 |
|
MD5 | f90e8028c763ac289c790c6400a0578b |
|
BLAKE2b-256 | fed999ba20561f8da31cdf229d8be4b3e53168d74869e3e51591aab090eb3535 |