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.

Antworten (2)

Cris LaPierre
Cris LaPierre am 22 Mai 2023

1 Stimme

The best place to submit suggestions to the MathWorks is here under 'Create a Service Request':
Madhav Thakker
Madhav Thakker am 15 Sep. 2020

0 Stimmen

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 Kommentare

Rob Williams
Rob Williams am 26 Apr. 2021
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
Álex RM am 15 Okt. 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 am 22 Mai 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.

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu MATLAB finden Sie in Hilfe-Center und File Exchange

Gefragt:

am 12 Sep. 2020

Beantwortet:

am 22 Mai 2023

Community Treasure Hunt

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

Start Hunting!

Translated by