Matlab equivalent to iPython Notebook
Show older comments
Is there anything similar to the iPhython Notebook for MatLab?
Thank you, Franco
4 Comments
Maj-Lena Linderson
on 21 Jan 2022
I have an exercise in Matlab that I need to make able for the students to do from home due to the Covid restrictions. I was thinking of using Live Editor as I have understood it as they will not have to install Matlab on their computer to run it. Is this correct? Is there in that case somewhere an instruction how to save or compile? Do the students need to install any other program and can it be run in Windows, Mac and Android or is there any limitations?
David Garrison
on 21 Jan 2022
If your university has a Campus-Wide License, they should have access to MATLAB Online which allows them to run MATLAB from winthin a browser. Using MATLAB Online does not require them to install MATLAB locally on their machines. They only need a MathWorks account to access MATLAB Online. You can give them access to your Live Scripts sharing a folder in the MATLAB Online Desktop.
They can access MATLAB Online from https://matlab.mathworks.com
Maj-Lena Linderson
on 21 Jan 2022
Thank you!
Maj-Lena
Rene
on 20 Jul 2022
Thank you.
Accepted Answer
More Answers (6)
Anne Urai
on 12 Nov 2015
5 votes
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!
Sarah Palfreyman
on 20 Apr 2016
5 votes
Have you tried the MATLAB Live Editor?
Angel marchev
on 30 Dec 2019
3 votes
Still, as of today Matlab is lagging behind compared to R and Python for scientific computing and IMHO it si because of poor (to none) integration in Jupyter.... everyone in the world is using notebooks, and mathworks should not be going against its own (shrinking in number) users
1 Comment
Ted Wong
on 26 Feb 2021
Matlab is afraid it will allow everybody sharing the same Matlab license without paying. It's a commerical decision.
Royi Avital
on 20 Dec 2019
Edited: Royi Avital
on 13 Jan 2020
1 vote
As written above, there is the option of MATLAB's Live Editor.
I find it to be really limited vs. iPython Notebook. They are not even close in their LaTeX capabilities and the quality of the experience in my opinion.
The nice thing about the iPython Notebook (More accurately, Jupyter Framework) framework is it is open.
So there are Open Source solutions which implements MATLAB Kernel which gives you the ability to use MATLAB just as you would use Python / R / Julia. Have a look at:
Each of them works perfectly.
Enjoy.
David Garrison
on 20 Dec 2019
1 vote
Royi and Anne,
Thank you for your comments. For those people out there who use Jupyter and MATLAB, the MATLAB kernel for Jupyter may be their preferred approach. One thing Jupyter has demonstrated is the power of the notebook paradigm. We built the Live Editor for MATLAB users to create notebooks for sharing, demonstraton, and teaching. We can give our users some things that Jupyter with the MATLAB kernel cannot provide including embedded UI controls, live editor tasks, and code generation from plot interactions. What's more, we can give Live Editor users a much tighter integration with the larger MATLAB ecosystem with tools like code completion, file comparison, command line execution and more.
Thanks.
2 Comments
Royi Avital
on 11 Jan 2020
Edited: Royi Avital
on 13 Jan 2020
Hi David,
While all the things you wrote are true I still find the experience of Jupyter to be much better than MATLAB's Live Editor.
It lacks so much in the LaTeX integration, being able to dispaly on GitHub, etc... that I really don't see the point not join the herd and work with Jupyter.
Ted Wong
on 26 Feb 2021
The Live Editor is not even close to Jupyter.
Mike Croucher
on 1 Mar 2023
0 votes
An update on this question: MathWorks have now released an official MATLAB kernel for Jupyter. Details at Official MathWorks MATLAB kernel for Jupyter released » The MATLAB Blog - MATLAB & Simulink
Categories
Find more on Customizations and Preferences in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!