How to lock the blocks made in Simulink?

3 views (last 30 days)
Divyesh Arora
Divyesh Arora on 30 Jun 2020
Answered: Vishal Gaur on 1 Jul 2020
I am using MATLAB/Simulink 2017a, i would like to know if we can lock the blocks made in Simulink.

Answers (1)

Vishal Gaur
Vishal Gaur on 1 Jul 2020
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

Community Treasure Hunt

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

Start Hunting!