Protecting a Simulink block with a password

63 vues (au cours des 30 derniers jours)
Indira
Indira le 28 Jan 2011
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?

Réponse acceptée

Kaustubha Govind
Kaustubha Govind le 28 Jan 2011
Modifié(e) : John Kelly le 12 Juin 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.
You can protect MATLAB-files by using pcode.
  6 commentaires
Indira
Indira le 2 Fév 2011
Done!
stack programer
stack programer le 17 Mai 2017
Modifié(e) : stack programer le 17 Mai 2017
Great but for sdr soure it is not work

Connectez-vous pour commenter.

Plus de réponses (1)

Senthilmurugan Mani
Senthilmurugan Mani le 8 Juil 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

Catégories

En savoir plus sur Programmatic Model Editing dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by