jupyter notebook vs live scripts

67 ビュー (過去 30 日間)
Unai San Miguel
Unai San Miguel 2017 年 3 月 15 日
コメント済み: LeChat 2022 年 12 月 1 日
What are the differences between Live Scripts and Jupyter notebooks?

採用された回答

David Garrison
David Garrison 2017 年 3 月 17 日

The Live Editor and the Jupyter Notebook are similar in that you can mix code with output, run code in sections, and add formatted text, images, and equations to tell a story.

The Live Editor provides a new way to develop code for exploratory programming, to create an interactive narrative, and to present or teach. In particular, the Live Editor allows you to

  • Choose between inline output and output on the right
  • Zoom, pan, and rotate plots and get the generated code
  • Format text interactively rather than through markdown
  • Create equations using LaTeX or through an interactive equation editor
  • Use functions hints, tab completion, and code analysis tools

The Live Editor is available in desktop MATLAB and in MATLAB Online. To find out more about the Live Editor, go the Live Editor web page. You can find example live scripts in the MATLAB documentation and on the MATLAB File Exchange.

  1 件のコメント
LeChat
LeChat 2022 年 12 月 1 日
All this is neat indeed, but I believe the implementation in Matlab is pretty poor: livescripts are pretty heavy for the RAM, its is not as smooth to use as compared to Jupyther Notebooks.
Here I wrote a tutorial to use Matlab in Jupyther Notebooks:
Hope this help, either by pushing Mathworks to optimize their livescripts, or you if you like both Jupyther Notebooks and Matlab language.

サインインしてコメントする。

その他の回答 (2 件)

Hechuan Wang
Hechuan Wang 2018 年 9 月 4 日
More importantly, livescript utilize matlab debugger and workspace inspector, but jupyter does not have debugger or variable inspector out of box.
  1 件のコメント
Kouichi C. Nakamura
Kouichi C. Nakamura 2019 年 7 月 23 日
I agree! Debugging may be the major difference.

サインインしてコメントする。


Kouichi C. Nakamura
Kouichi C. Nakamura 2019 年 7 月 3 日
Both Jupyter Notebook and R Notebooks support markdown, but for back-compatibility reasons (I think) MATLAB's Live Editor uses MATLAB's own markup language for the text part. This is OK, but rather unfortunate, I think.
  1 件のコメント
cui,xingxing
cui,xingxing 2022 年 7 月 12 日
編集済み: cui,xingxing 2022 年 7 月 12 日

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeIntegration with Online Platforms についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by