Locking sections of a Live Script

11 次查看(过去 30 天)
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