Locking sections of a Live Script

11 views (last 30 days)
William Scharpf
William Scharpf on 12 Sep 2020
Answered: Cris LaPierre on 22 May 2023
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.

Answers (2)

Cris LaPierre
Cris LaPierre on 22 May 2023
The best place to submit suggestions to the MathWorks is here under 'Create a Service Request':

Madhav Thakker
Madhav Thakker on 15 Sep 2020
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 Comments
Álex RM
Álex RM on 15 Oct 2022
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 on 22 May 2023
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.

Sign in to comment.

Categories

Find more on Historical Contests in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!