Skip to content

Add a buildtool task to build the MATLAB notebooks#8

Merged
wkearn merged 1 commit intoTopoToolbox:mainfrom
wkearn:matlab-export
Mar 17, 2026
Merged

Add a buildtool task to build the MATLAB notebooks#8
wkearn merged 1 commit intoTopoToolbox:mainfrom
wkearn:matlab-export

Conversation

@wkearn
Copy link
Copy Markdown
Member

@wkearn wkearn commented Mar 17, 2026

The task installs TopoToolbox from the latest release on GitHub if it is not already installed and then runs the (single) notebook and outputs it as a Jupyter notebook. Sphinx should then be able to find this notebook and render it.

The notebook is converted from an M file to an MLX file. According to MathWorks, the export to LaTeX/Jupyter works properly with MLX files, but not with M files. This is apparently being worked on, and I would like to eventually switch back to M files because of their better integration with source control.

The task installs TopoToolbox from the latest release on GitHub if it
is not already installed and then runs the (single) notebook and
outputs it as a Jupyter notebook. Sphinx should then be able to find
this notebook and render it.

The notebook is converted from an M file to an MLX file. According to
MathWorks, the export to LaTeX/Jupyter works properly with MLX files,
but not with M files. This is apparently being worked on, and I would
like to eventually switch back to M files because of their better
integration with source control.
@wkearn wkearn merged commit 5e54ffc into TopoToolbox:main Mar 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant