Export a live script without the lines of code

13 ビュー (過去 30 日間)
C.O.
C.O. 2019 年 1 月 23 日
コメント済み: Reno Filla 2022 年 1 月 26 日
Hi,
I'm thinking about using Matlab Live Script to generate HTML pages for a user manual.
The users are no engineers so they are not interested in the Matlab code of my function. They only need my textual description and my inserted images.
Is there a way to export a Live Script without the Matlab code?
Thank you!
  2 件のコメント
Joe Bienkowski
Joe Bienkowski 2020 年 3 月 5 日
Thank you for your interest in this feature. This is something that is supported in the Live Editor starting from release 19a! Set the script to "Hide Code" mode from the view menu or using the buttons in the upper right of the script. Once the script has the code hidden you can export the script to any of the export formats (including HTML) and the code will stay hidden. For more information on this topic please see the documentation here. Thanks again for the feedback and interest in Live Scripts!
C.O.
C.O. 2020 年 5 月 19 日
Thank you for your help!

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

採用された回答

Joe Bienkowski
Joe Bienkowski 2020 年 5 月 12 日
Thank you for your interest in this feature. This is something that is supported in the Live Editor starting from release 19a! Set the script to "Hide Code" mode from the view menu or using the buttons in the upper right of the script. Once the script has the code hidden you can export the script to any of the export formats (including HTML) and the code will stay hidden. For more information on this topic please see the documentation here. Thanks again for the feedback and interest in Live Scripts!
  1 件のコメント
Reno Filla
Reno Filla 2022 年 1 月 26 日
Are there any plans to expand this to individually collapsing or expanding cells/sections? For some parts I might want to show the code, for others I don't. Today I have to choose between all turned on or all turned off.

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeScripts についてさらに検索

製品


リリース

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by