Enabling Matlab in Jupyter Notebooks on Linux
walczak.org
walczak.org
I can use it reasonably well as a sort of lab notebook, but it's hard to use as a general notebook. Or a combination notebook/spreadsheet. Or a place to write creative fiction. Or any other of countless scenarios that it seems like it would be an excellent platform for.
Unfortunately, 3rd-party kernels seem to mostly be copies of the Python one with a different core language. Not that I can really complain; they do provide documentation for writing your own kernel. At least Eryk here is working to contribute to the ecosystem :)
I’m actually just curious here! I’m very familiar with matlab but am new to using jupyter (I’ve been using it for python notebooks)
Code blocks can contain arbitrary source code of course (including function definitions and class definitions), but they can also contain "magics", which are special commands that act on a cell or line, for example for debugging, profiling, reading/writing files, and much, much more.
This is the true magic of jupyter notebooks. There are magics for interacting with the shell, for visualizing data, for running code in other programming languages... The possibilities are endless.
And of course jupyter notebooks are just text documents (JSON), so you can put them under source control, manipulate them programmatically, or view them online without having python installed.