MATLAB Answers

0

Matlab equivalent to iPython Notebook

Asked by furanco Pestilli on 11 Nov 2012
Latest activity Answered by David Garrison on 16 Sep 2019
Is there anything similar to the iPhython Notebook for MatLab?
Thank you, Franco

  0 Comments

Sign in to comment.

3 Answers

Answer by David Garrison on 16 Sep 2019
 Accepted Answer

MATLAB has the Live Editor which allows you to create live scripts that combine code, output, and formatted text in an executable notebook. Code can be divided into manageable sections that can be run independently. Output and visualizations appear next to the code that produced them. Code and results can be enhanced with formatted text, headings, images, and hyperlinks. Equations can be added using the interactive editor or created using LaTeX. Live scripts can be exported to HTML, PDF, LaTeX, or Word.
Live scripts can contain interactive controls to allow others to experiment with parameters in your code. You can choose to hide the code to create simple applications and dashboards that can be shared with others.
The Live Editor provides contextual hints for function arguments, file names, and more. Figures and tables in the output are interactive. Those interactions generate MATLAB code automatically. That code can then be added back to your live script. Refactoring tools allow you to select blocks of code to create reusable functions. The Live Editor provides a fully integrated debugger to troubleshoot code.
In R2019b, we've added Live Editor Tasks which are apps that can be embedded in a script that allow you to interactively explore parameters and options, immediately see the results, and automatically generate the corresponding MATLAB code for the completed task and for the display of results.

  0 Comments

Sign in to comment.


Answer by Anne Urai
on 12 Nov 2015

Personally, I do not think Matlab's Publish function has the same advantages as the IPython notebook. However, it is quite easy to run Matlab code within an IPython notebook. See my instruction guide here http://anneurai.net/2015/11/12/matlab-based-ipython-notebooks/

  1 Comment

Liner
on 30 Dec 2015
Wow, if this becomes robust and widely supported, for those of us in academic environments with MATLAB licenses, this could be game changer. I have reluctantly been holding off on the MATLAB to python transition because of the DSP toolboxes and all my old code, this will be really nice to share my code with my colleagues/students. Thanks!

Sign in to comment.


Answer by Sarah Palfreyman on 20 Apr 2016

Have you tried the MATLAB Live Editor?

  0 Comments

Sign in to comment.