Locking sections of a Live Script
显示 更早的评论
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
2023-5-22
1 个投票
The best place to submit suggestions to the MathWorks is here under 'Create a Service Request':
Madhav Thakker
2020-9-15
0 个投票
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 个评论
Rob Williams
2021-4-26
I'd like to "second" William's comment/suggestion. It would be nice to be able to "lock" aspects of a livescript so that other users cannot make permanent changes. This being an alternative to the traditional GUI.
Á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
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.
类别
在 帮助中心 和 File Exchange 中查找有关 MATLAB 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!