Protecting a Simulink block with a password
59 views (last 30 days)
Show older comments
Indira
on 28 Jan 2011
Answered: Senthilmurugan Mani
on 8 Jul 2019
I want to protect a Simulink block (subsystem masked) with a password, so that nobody can open the block or modify the initialization parameters included in the mask parameters.
On the other hand, can I protect the m-files I have?
0 Comments
Accepted Answer
Kaustubha Govind
on 28 Jan 2011
Edited: John Kelly
on 12 Jun 2014
You can protect your Simulink subsystem by one of three methods:
1) Control user access to subsystems
2) Generate an S-function
3) Create a protected model from your subsystem, that can then be referenced from users' models.
6 Comments
stack programer
on 17 May 2017
Edited: stack programer
on 17 May 2017
Great but for sdr soure it is not work
More Answers (1)
Senthilmurugan Mani
on 8 Jul 2019
Could you pls explain about these three method more in detailed
You can protect your Simulink subsystem by one of three methods:
1) Control user access to subsystems
2) Generate an S-function
3) Create a protected model from your subsystem, that can then be referenced from users' models.
You can protect MATLAB-files by using pcode.
Thanks in Advance
By Senthil
0 Comments
See Also
Categories
Find more on Subsystems in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!