The MATLAB Live Editor allows you to create scripts that combine code, output, and formatted text in an executable notebook.
Code Ocean is a cloud-based computational reproducibility platform, see [1] and [2].
Jupyter is an open source project that lets you easily combine Markdown text, executable code, persistent data, graphics, and visualizations onto a single notebook.
See Jupyter Notebook, NBviewer and JupyterLab.
Jupyter kernels: MATLAB and Octave.
Jupyter notebooks can be opened in an online executable environment with Binder.
See also Microsot Azure Notebooks and Google Colaboratory.
SPM notebook example rendered statically with NBviewer and interactively with Binder.
See also Stephan Heunis's tutorial.