Locking sections of a Live Script

조회 수: 11 (최근 30일)
William Scharpf
William Scharpf 2020년 9월 12일
답변: Cris LaPierre 2023년 5월 22일
Is there a way to lock sections of a live script so they can be run, but not edited? I have a live script I would like to share with outher matlab users. I would like to manage the edits or changes to insure configuration control.

답변 (2개)

Cris LaPierre
Cris LaPierre 2023년 5월 22일
The best place to submit suggestions to the MathWorks is here under 'Create a Service Request':

Madhav Thakker
Madhav Thakker 2020년 9월 15일
Hi William,
I understand that you want to make the edits and changes yourself. As of now, there is no way to run some sections of the live script, with non-editable functionality. You can run the complete live script yourself and share it as a PDF file.
Hope this helps.
  댓글 수: 3
Álex RM
Álex RM 2022년 10월 15일
This would be fantastic to hand out assignments to students without them being able to mess the parts they don't need to touch.
BLP
BLP 2023년 5월 22일
I do agree with Álex. In MATLAB Grader there is such a possibility to lock seleceted lines of the code give to the students. Unfortunatelly, in MATLAB Grader students can't use the MATLAB enviroment. Working with the live scripts they have the posiibility to use editor/debugger or profiler.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Historical Contests에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by