How to lock the blocks made in Simulink?

I am using MATLAB/Simulink 2017a, i would like to know if we can lock the blocks made in Simulink.

Answers (1)

Hi, Divyesh Arora,
You can use set_param to lock Simulink Blocks.
set_param('lbi_name','Lock','on')

Categories

Find more on Modeling in Help Center and File Exchange

Asked:

on 30 Jun 2020

Answered:

on 1 Jul 2020

Community Treasure Hunt

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

Start Hunting!