Protecting a Simulink block with a password

69 ビュー (過去 30 日間)
Indira
Indira 2011 年 1 月 28 日
回答済み: Senthilmurugan Mani 2019 年 7 月 8 日
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 日
Great but for sdr soure it is not work

サインインしてコメントする。

その他の回答 (1 件)

Senthilmurugan Mani
Senthilmurugan Mani 2019 年 7 月 8 日
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

Community Treasure Hunt

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

Start Hunting!

Translated by