필터 지우기
필터 지우기

Export a live script without the lines of code

조회 수: 8 (최근 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 CenterFile Exchange에서 Scripts에 대해 자세히 알아보기

제품


릴리스

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by