Protecting a Simulink block with a password

74 次查看(过去 30 天)
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?

采纳的回答

Kaustubha Govind
Kaustubha Govind 2011-1-28
编辑:John Kelly 2014-6-12
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.
  6 个评论
stack programer
stack programer 2017-5-17
编辑:stack programer 2017-5-17
Great but for sdr soure it is not work

请先登录,再进行评论。

更多回答(1 个)

Senthilmurugan Mani
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

类别

Help CenterFile Exchange 中查找有关 Programmatic Model Editing 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by