Locking sections of a Live Script
11 views (last 30 days)
Show older comments
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.
0 Comments
Answers (2)
Cris LaPierre
on 22 May 2023
The best place to submit suggestions to the MathWorks is here under 'Create a Service Request':
0 Comments
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
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
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.
See Also
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!